Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 include protocol PContent;
9 include protocol PHttpChannel;
10 include protocol PCookieService;
11 include protocol PBrowser;
12 include protocol PWyciwygChannel;
13 include protocol PFTPChannel;
14 include protocol PWebSocket;
15 include protocol PTCPSocket;
16 include protocol PTCPServerSocket;
17 include protocol PUDPSocket;
18 include protocol PRemoteOpenFile;
19 include protocol PDNSRequest;
20 include protocol PChannelDiverter;
21 include protocol PBlob; //FIXME: bug #792908
22 include protocol PFileDescriptorSet;
24 include protocol PRtspController;
25 include protocol PRtspChannel;
26 include URIParams;
27 include InputStreamParams;
28 include NeckoChannelParams;
31 using class IPC::SerializedLoadContext from "SerializedLoadContext.h";
33 namespace mozilla {
34 namespace net {
36 //-------------------------------------------------------------------
37 sync protocol PNecko
38 {
39 manager PContent;
40 manages PHttpChannel;
41 manages PCookieService;
42 manages PWyciwygChannel;
43 manages PFTPChannel;
44 manages PWebSocket;
45 manages PTCPSocket;
46 manages PTCPServerSocket;
47 manages PUDPSocket;
48 manages PDNSRequest;
49 manages PRemoteOpenFile;
50 manages PRtspController;
51 manages PRtspChannel;
52 manages PChannelDiverter;
54 parent:
55 __delete__();
57 PCookieService();
58 PHttpChannel(nullable PBrowser browser,
59 SerializedLoadContext loadContext,
60 HttpChannelCreationArgs args);
61 PWyciwygChannel();
62 PFTPChannel(PBrowser browser, SerializedLoadContext loadContext,
63 FTPChannelCreationArgs args);
65 PWebSocket(PBrowser browser, SerializedLoadContext loadContext);
66 PTCPServerSocket(uint16_t localPort, uint16_t backlog, nsString binaryType);
67 PUDPSocket(nsCString host, uint16_t port, nsCString filter);
69 PDNSRequest(nsCString hostName, uint32_t flags);
71 PRemoteOpenFile(URIParams fileuri, OptionalURIParams appuri);
73 HTMLDNSPrefetch(nsString hostname, uint16_t flags);
74 CancelHTMLDNSPrefetch(nsString hostname, uint16_t flags, nsresult reason);
75 PRtspController();
76 PRtspChannel(RtspChannelConnectArgs args);
77 PChannelDiverter(ChannelDiverterArgs channel);
79 both:
80 PTCPSocket();
81 };
84 } // namespace net
85 } // namespace mozilla