Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ |
michael@0 | 3 | |
michael@0 | 4 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 5 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 6 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 7 | |
michael@0 | 8 | include protocol PContent; |
michael@0 | 9 | include protocol PHttpChannel; |
michael@0 | 10 | include protocol PCookieService; |
michael@0 | 11 | include protocol PBrowser; |
michael@0 | 12 | include protocol PWyciwygChannel; |
michael@0 | 13 | include protocol PFTPChannel; |
michael@0 | 14 | include protocol PWebSocket; |
michael@0 | 15 | include protocol PTCPSocket; |
michael@0 | 16 | include protocol PTCPServerSocket; |
michael@0 | 17 | include protocol PUDPSocket; |
michael@0 | 18 | include protocol PRemoteOpenFile; |
michael@0 | 19 | include protocol PDNSRequest; |
michael@0 | 20 | include protocol PChannelDiverter; |
michael@0 | 21 | include protocol PBlob; //FIXME: bug #792908 |
michael@0 | 22 | include protocol PFileDescriptorSet; |
michael@0 | 23 | |
michael@0 | 24 | include protocol PRtspController; |
michael@0 | 25 | include protocol PRtspChannel; |
michael@0 | 26 | include URIParams; |
michael@0 | 27 | include InputStreamParams; |
michael@0 | 28 | include NeckoChannelParams; |
michael@0 | 29 | |
michael@0 | 30 | |
michael@0 | 31 | using class IPC::SerializedLoadContext from "SerializedLoadContext.h"; |
michael@0 | 32 | |
michael@0 | 33 | namespace mozilla { |
michael@0 | 34 | namespace net { |
michael@0 | 35 | |
michael@0 | 36 | //------------------------------------------------------------------- |
michael@0 | 37 | sync protocol PNecko |
michael@0 | 38 | { |
michael@0 | 39 | manager PContent; |
michael@0 | 40 | manages PHttpChannel; |
michael@0 | 41 | manages PCookieService; |
michael@0 | 42 | manages PWyciwygChannel; |
michael@0 | 43 | manages PFTPChannel; |
michael@0 | 44 | manages PWebSocket; |
michael@0 | 45 | manages PTCPSocket; |
michael@0 | 46 | manages PTCPServerSocket; |
michael@0 | 47 | manages PUDPSocket; |
michael@0 | 48 | manages PDNSRequest; |
michael@0 | 49 | manages PRemoteOpenFile; |
michael@0 | 50 | manages PRtspController; |
michael@0 | 51 | manages PRtspChannel; |
michael@0 | 52 | manages PChannelDiverter; |
michael@0 | 53 | |
michael@0 | 54 | parent: |
michael@0 | 55 | __delete__(); |
michael@0 | 56 | |
michael@0 | 57 | PCookieService(); |
michael@0 | 58 | PHttpChannel(nullable PBrowser browser, |
michael@0 | 59 | SerializedLoadContext loadContext, |
michael@0 | 60 | HttpChannelCreationArgs args); |
michael@0 | 61 | PWyciwygChannel(); |
michael@0 | 62 | PFTPChannel(PBrowser browser, SerializedLoadContext loadContext, |
michael@0 | 63 | FTPChannelCreationArgs args); |
michael@0 | 64 | |
michael@0 | 65 | PWebSocket(PBrowser browser, SerializedLoadContext loadContext); |
michael@0 | 66 | PTCPServerSocket(uint16_t localPort, uint16_t backlog, nsString binaryType); |
michael@0 | 67 | PUDPSocket(nsCString host, uint16_t port, nsCString filter); |
michael@0 | 68 | |
michael@0 | 69 | PDNSRequest(nsCString hostName, uint32_t flags); |
michael@0 | 70 | |
michael@0 | 71 | PRemoteOpenFile(URIParams fileuri, OptionalURIParams appuri); |
michael@0 | 72 | |
michael@0 | 73 | HTMLDNSPrefetch(nsString hostname, uint16_t flags); |
michael@0 | 74 | CancelHTMLDNSPrefetch(nsString hostname, uint16_t flags, nsresult reason); |
michael@0 | 75 | PRtspController(); |
michael@0 | 76 | PRtspChannel(RtspChannelConnectArgs args); |
michael@0 | 77 | PChannelDiverter(ChannelDiverterArgs channel); |
michael@0 | 78 | |
michael@0 | 79 | both: |
michael@0 | 80 | PTCPSocket(); |
michael@0 | 81 | }; |
michael@0 | 82 | |
michael@0 | 83 | |
michael@0 | 84 | } // namespace net |
michael@0 | 85 | } // namespace mozilla |