widget/nsIPrintSession.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 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsISupports.idl"
     8 /**
     9  * nsIPrintSession
    10  *
    11  * Stores data pertaining only to a single print job. This
    12  * differs from nsIPrintSettings, which stores data which may
    13  * be valid across a number of jobs.
    14  *
    15  * This interface is currently empty since, at this point, only
    16  * platform-specific derived interfaces offer any functionality.
    17  * It is here as a placeholder for when the printing session has
    18  * XP functionality.
    19  *
    20  * The creation of a component which implements this interface
    21  * will begin the session. Likewise, destruction of that object
    22  * will end the session.
    23  * 
    24  * @status
    25  */
    27 [uuid(2f977d52-5485-11d4-87e2-0010a4e75ef2)]
    29 interface nsIPrintSession : nsISupports
    30 {
    31 };

mercurial