Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
[gecko.git] / netwerk / protocol / wyciwyg / PWyciwygChannel.ipdl
blob69dac30fa5252f4282d85c9f57d1b74f5ae81831
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PNecko;
6 include protocol PBrowser;
7 include URIParams;
10 using class IPC::SerializedLoadContext from "SerializedLoadContext.h";
12 namespace mozilla {
13 namespace net {
15 //-------------------------------------------------------------------
16 protocol PWyciwygChannel
18   manager PNecko;
20 parent:
21   __delete__();
23   Init(URIParams uri);
24   AsyncOpen(URIParams             originalURI,
25             uint32_t              loadFlags,
26             SerializedLoadContext loadContext,
27             PBrowser browser);
28   AppData(SerializedLoadContext loadContext, PBrowser browser);
30   // methods corresponding to those of nsIWyciwygChannel
31   WriteToCacheEntry(nsString data);
32   CloseCacheEntry(nsresult reason);
33   SetCharsetAndSource(int32_t source, nsCString charset);
34   SetSecurityInfo(nsCString securityInfo);
35   Cancel(nsresult status);
37 child:
38   OnStartRequest(nsresult  statusCode,
39                  int64_t   contentLength,
40                  int32_t   source,
41                  nsCString charset,
42                  nsCString securityInfo);
44   OnDataAvailable(nsCString data,
45                   uint64_t  offset);
47   OnStopRequest(nsresult statusCode);
49   CancelEarly(nsresult statusCode);
53 } // namespace net
54 } // namespace mozilla