1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/ipc/PNecko.ipdl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,85 @@ 1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ 1.6 + 1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.10 + 1.11 +include protocol PContent; 1.12 +include protocol PHttpChannel; 1.13 +include protocol PCookieService; 1.14 +include protocol PBrowser; 1.15 +include protocol PWyciwygChannel; 1.16 +include protocol PFTPChannel; 1.17 +include protocol PWebSocket; 1.18 +include protocol PTCPSocket; 1.19 +include protocol PTCPServerSocket; 1.20 +include protocol PUDPSocket; 1.21 +include protocol PRemoteOpenFile; 1.22 +include protocol PDNSRequest; 1.23 +include protocol PChannelDiverter; 1.24 +include protocol PBlob; //FIXME: bug #792908 1.25 +include protocol PFileDescriptorSet; 1.26 + 1.27 +include protocol PRtspController; 1.28 +include protocol PRtspChannel; 1.29 +include URIParams; 1.30 +include InputStreamParams; 1.31 +include NeckoChannelParams; 1.32 + 1.33 + 1.34 +using class IPC::SerializedLoadContext from "SerializedLoadContext.h"; 1.35 + 1.36 +namespace mozilla { 1.37 +namespace net { 1.38 + 1.39 +//------------------------------------------------------------------- 1.40 +sync protocol PNecko 1.41 +{ 1.42 + manager PContent; 1.43 + manages PHttpChannel; 1.44 + manages PCookieService; 1.45 + manages PWyciwygChannel; 1.46 + manages PFTPChannel; 1.47 + manages PWebSocket; 1.48 + manages PTCPSocket; 1.49 + manages PTCPServerSocket; 1.50 + manages PUDPSocket; 1.51 + manages PDNSRequest; 1.52 + manages PRemoteOpenFile; 1.53 + manages PRtspController; 1.54 + manages PRtspChannel; 1.55 + manages PChannelDiverter; 1.56 + 1.57 +parent: 1.58 + __delete__(); 1.59 + 1.60 + PCookieService(); 1.61 + PHttpChannel(nullable PBrowser browser, 1.62 + SerializedLoadContext loadContext, 1.63 + HttpChannelCreationArgs args); 1.64 + PWyciwygChannel(); 1.65 + PFTPChannel(PBrowser browser, SerializedLoadContext loadContext, 1.66 + FTPChannelCreationArgs args); 1.67 + 1.68 + PWebSocket(PBrowser browser, SerializedLoadContext loadContext); 1.69 + PTCPServerSocket(uint16_t localPort, uint16_t backlog, nsString binaryType); 1.70 + PUDPSocket(nsCString host, uint16_t port, nsCString filter); 1.71 + 1.72 + PDNSRequest(nsCString hostName, uint32_t flags); 1.73 + 1.74 + PRemoteOpenFile(URIParams fileuri, OptionalURIParams appuri); 1.75 + 1.76 + HTMLDNSPrefetch(nsString hostname, uint16_t flags); 1.77 + CancelHTMLDNSPrefetch(nsString hostname, uint16_t flags, nsresult reason); 1.78 + PRtspController(); 1.79 + PRtspChannel(RtspChannelConnectArgs args); 1.80 + PChannelDiverter(ChannelDiverterArgs channel); 1.81 + 1.82 +both: 1.83 + PTCPSocket(); 1.84 +}; 1.85 + 1.86 + 1.87 +} // namespace net 1.88 +} // namespace mozilla