Backed out changeset 838f865fa1c7 (bug 933231) for bustage on some platforms.
[gecko.git] / services / healthreport / HealthReport.jsm
blob76f854189ea2851e9229fe4a1cead06c3105b721
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",
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
32 #include ../common/bagheeraclient.js
34 #include ../metrics/Metrics.jsm
36 #include healthreporter.jsm
38 #include profile.jsm
40 #include providers.jsm