Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 "use strict";
7 this.EXPORTED_SYMBOLS = [
8 "HealthReporter",
9 "AddonsProvider",
10 "AppInfoProvider",
11 "CrashesProvider",
12 "HealthReportProvider",
13 "Metrics",
14 "PlacesProvider",
15 "ProfileMetadataProvider",
16 "SearchesProvider",
17 "SessionsProvider",
18 "SysInfoProvider",
19 ];
21 const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
23 const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
25 // We concatenate the JSMs together to eliminate compartment overhead.
26 // This is a giant hack until compartment overhead is no longer an
27 // issue.
28 #define MERGED_COMPARTMENT
30 #include ../common/async.js
31 ;
32 #include ../common/bagheeraclient.js
33 ;
34 #include ../metrics/Metrics.jsm
35 ;
36 #include healthreporter.jsm
37 ;
38 #include profile.jsm
39 ;
40 #include providers.jsm
41 ;