Tue, 06 Jan 2015 21:39:09 +0100
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: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
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 #ifndef nsPipe_h__
8 #define nsPipe_h__
10 #define NS_PIPE_CONTRACTID \
11 "@mozilla.org/pipe;1"
12 #define NS_PIPE_CID \
13 { /* e4a0ee4e-0775-457b-9118-b3ae97a7c758 */ \
14 0xe4a0ee4e, \
15 0x0775, \
16 0x457b, \
17 {0x91,0x18,0xb3,0xae,0x97,0xa7,0xc7,0x58} \
18 }
20 // Generic factory constructor for the nsPipe class
21 nsresult NS_HIDDEN
22 nsPipeConstructor(nsISupports *outer, REFNSIID iid, void **result);
24 #endif // !defined(nsPipe_h__)