2009-08-18 12:05:15 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
|
|
|
|
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2009-08-18 12:05:15 -07:00
|
|
|
|
2010-07-19 11:33:33 -07:00
|
|
|
include protocol PContent;
|
2010-04-27 00:12:38 -07:00
|
|
|
include protocol PHttpChannel;
|
|
|
|
include protocol PCookieService;
|
2010-07-19 11:33:33 -07:00
|
|
|
include protocol PBrowser;
|
2010-10-11 04:35:10 -07:00
|
|
|
include protocol PWyciwygChannel;
|
2010-08-10 11:47:00 -07:00
|
|
|
include protocol PFTPChannel;
|
2011-05-04 06:36:23 -07:00
|
|
|
include protocol PWebSocket;
|
2012-09-24 11:53:49 -07:00
|
|
|
include protocol PTCPSocket;
|
2012-12-22 05:56:21 -08:00
|
|
|
include protocol PRemoteOpenFile;
|
2013-06-22 09:09:19 -07:00
|
|
|
include protocol PBlob; //FIXME: bug #792908
|
|
|
|
|
2012-12-22 05:56:21 -08:00
|
|
|
include URIParams;
|
2013-06-22 09:09:19 -07:00
|
|
|
include InputStreamParams;
|
|
|
|
include NeckoChannelParams;
|
2009-08-18 12:05:15 -07:00
|
|
|
|
2012-10-09 16:46:24 -07:00
|
|
|
include "SerializedLoadContext.h";
|
|
|
|
|
|
|
|
using IPC::SerializedLoadContext;
|
|
|
|
|
2009-08-18 12:05:15 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace net {
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------
|
2010-03-25 16:02:28 -07:00
|
|
|
sync protocol PNecko
|
2009-08-18 12:05:15 -07:00
|
|
|
{
|
2010-07-19 11:33:33 -07:00
|
|
|
manager PContent;
|
2009-08-18 12:05:15 -07:00
|
|
|
manages PHttpChannel;
|
2010-03-25 16:02:28 -07:00
|
|
|
manages PCookieService;
|
2010-10-11 04:35:10 -07:00
|
|
|
manages PWyciwygChannel;
|
2010-08-10 11:47:00 -07:00
|
|
|
manages PFTPChannel;
|
2011-05-04 06:36:23 -07:00
|
|
|
manages PWebSocket;
|
2012-09-24 11:53:49 -07:00
|
|
|
manages PTCPSocket;
|
2012-12-22 05:56:21 -08:00
|
|
|
manages PRemoteOpenFile;
|
2009-08-18 12:05:15 -07:00
|
|
|
|
|
|
|
parent:
|
2009-12-03 00:16:14 -08:00
|
|
|
__delete__();
|
|
|
|
|
2010-03-25 16:02:28 -07:00
|
|
|
PCookieService();
|
2012-10-09 16:46:24 -07:00
|
|
|
PHttpChannel(nullable PBrowser browser,
|
2013-06-22 09:09:19 -07:00
|
|
|
SerializedLoadContext loadContext,
|
|
|
|
HttpChannelCreationArgs args);
|
2010-10-11 04:35:10 -07:00
|
|
|
PWyciwygChannel();
|
2013-06-22 09:09:19 -07:00
|
|
|
PFTPChannel(PBrowser browser, SerializedLoadContext loadContext,
|
|
|
|
FTPChannelCreationArgs args);
|
|
|
|
|
2012-12-29 01:02:16 -08:00
|
|
|
PWebSocket(PBrowser browser, SerializedLoadContext loadContext);
|
2012-09-24 11:53:49 -07:00
|
|
|
PTCPSocket(nsString host, uint16_t port, bool useSSL, nsString binaryType,
|
|
|
|
nullable PBrowser browser);
|
2013-02-07 05:06:58 -08:00
|
|
|
|
|
|
|
// Request that the parent open a file.
|
2012-12-22 05:56:21 -08:00
|
|
|
PRemoteOpenFile(URIParams fileuri, nullable PBrowser browser);
|
2010-07-26 11:49:09 -07:00
|
|
|
|
2012-08-22 08:56:38 -07:00
|
|
|
HTMLDNSPrefetch(nsString hostname, uint16_t flags);
|
|
|
|
CancelHTMLDNSPrefetch(nsString hostname, uint16_t flags, nsresult reason);
|
2010-08-10 20:11:57 -07:00
|
|
|
|
2009-08-18 12:05:15 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace net
|
|
|
|
} // namespace mozilla
|