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 /* 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 /*
7 * Header file to be included by module -
8 * warning: defines a whole bunch of static functions
9 */
11 #ifndef nsCharDetConstructors_h__
12 #define nsCharDetConstructors_h__
14 // chardet
15 #include "nsISupports.h"
16 #include "nsICharsetDetector.h"
17 #include "nsICharsetDetectionObserver.h"
18 #include "nsIStringCharsetDetector.h"
19 #include "nsCyrillicDetector.h"
21 NS_GENERIC_FACTORY_CONSTRUCTOR(nsRUProbDetector)
22 NS_GENERIC_FACTORY_CONSTRUCTOR(nsUKProbDetector)
23 NS_GENERIC_FACTORY_CONSTRUCTOR(nsRUStringProbDetector)
24 NS_GENERIC_FACTORY_CONSTRUCTOR(nsUKStringProbDetector)
26 #endif