netwerk/ipc/nsIRemoteOpenFileListener.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* vim: set sw=4 ts=4 et tw=80 : */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsISupports.idl"
     9 /**
    10  * nsIRemoteOpenFileListener: passed to RemoteOpenFileChild::AsyncRemoteFileOpen.
    11  *
    12  * Interface for notifying when the file has been opened and is available in
    13  * child.
    14  */
    15 [uuid(5c89208c-fe2b-4e04-9783-93bcf5c3b783)]
    16 interface nsIRemoteOpenFileListener : nsISupports
    17 {
    18     /**
    19      * Called when result of opening RemoteOpenFileChild:AsyncRemoteFileOpen()
    20      * is available in child.
    21      *
    22      * @param aOpenStatus: nsresult from opening file in parent.  If NS_OK,
    23      * then a following call to RemoteOpenFileChild::OpenNSPRFileDesc that
    24      * passes the same flags as were passed to
    25      * RemoteOpenFileChild::AsyncRemoteFileOpen is guaranteed to succeed.  If
    26      * !NS_OK or if different flags were passed, the call will fail.
    27      */
    28     void onRemoteFileOpenComplete(in nsresult aOpenStatus);
    29 };

mercurial