netwerk/ipc/PNecko.ipdl

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:da204f5eda65
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 : */
3
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/. */
7
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;
23
24 include protocol PRtspController;
25 include protocol PRtspChannel;
26 include URIParams;
27 include InputStreamParams;
28 include NeckoChannelParams;
29
30
31 using class IPC::SerializedLoadContext from "SerializedLoadContext.h";
32
33 namespace mozilla {
34 namespace net {
35
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;
53
54 parent:
55 __delete__();
56
57 PCookieService();
58 PHttpChannel(nullable PBrowser browser,
59 SerializedLoadContext loadContext,
60 HttpChannelCreationArgs args);
61 PWyciwygChannel();
62 PFTPChannel(PBrowser browser, SerializedLoadContext loadContext,
63 FTPChannelCreationArgs args);
64
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);
68
69 PDNSRequest(nsCString hostName, uint32_t flags);
70
71 PRemoteOpenFile(URIParams fileuri, OptionalURIParams appuri);
72
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);
78
79 both:
80 PTCPSocket();
81 };
82
83
84 } // namespace net
85 } // namespace mozilla

mercurial