uriloader/exthandler/nsIExternalURLHandlerService.idl

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 "nsIMIMEInfo.idl"
     7 /**
     8  * The external URL handler service is used for finding
     9  * platform-specific applications for handling particular URLs.
    10  */
    12 [scriptable, uuid(56c5c7d3-6fd3-43f8-9429-4397e111453a)]
    13 interface nsIExternalURLHandlerService : nsISupports
    14 {
    15   /**
    16    * Given a URL, looks up the handler info from the OS. This should be
    17    * overridden by each OS's implementation.
    18    *
    19    * @param aURL The URL we are looking for.
    20    * @param aFound  Was an OS default handler for this URL found?
    21    * @return  An nsIHanderInfo for the protocol.
    22    */
    23   nsIHandlerInfo getURLHandlerInfoFromOS(in nsIURI aURL,
    24                                          out boolean aFound);
    26 };

mercurial