netwerk/protocol/wyciwyg/PWyciwygChannel.ipdl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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
    17 {
    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);
    50 };
    53 } // namespace net
    54 } // namespace mozilla

mercurial