|
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/. */ |
|
4 |
|
5 "use strict"; |
|
6 |
|
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 ]; |
|
20 |
|
21 const {classes: Cc, interfaces: Ci, utils: Cu} = Components; |
|
22 |
|
23 const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000; |
|
24 |
|
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 |
|
29 |
|
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 ; |
|
42 |