2013-01-27 11:26:48 -08:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
this.EXPORTED_SYMBOLS = [
|
|
|
|
"HealthReporter",
|
|
|
|
"AddonsProvider",
|
|
|
|
"AppInfoProvider",
|
|
|
|
"CrashesProvider",
|
2013-05-01 09:41:55 -07:00
|
|
|
"HealthReportProvider",
|
2014-07-29 11:11:51 -07:00
|
|
|
"HotfixProvider",
|
2013-01-27 11:26:48 -08:00
|
|
|
"Metrics",
|
2013-02-05 10:44:33 -08:00
|
|
|
"PlacesProvider",
|
2013-01-27 11:26:48 -08:00
|
|
|
"ProfileMetadataProvider",
|
2013-02-12 16:32:43 -08:00
|
|
|
"SearchesProvider",
|
2013-01-27 11:26:48 -08:00
|
|
|
"SessionsProvider",
|
|
|
|
"SysInfoProvider",
|
|
|
|
];
|
|
|
|
|
|
|
|
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
|
|
|
|
|
|
|
|
const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
|
|
|
|
|
|
|
|
// We concatenate the JSMs together to eliminate compartment overhead.
|
|
|
|
// This is a giant hack until compartment overhead is no longer an
|
|
|
|
// issue.
|
|
|
|
#define MERGED_COMPARTMENT
|
|
|
|
|
2013-01-30 07:07:22 -08:00
|
|
|
#include ../common/async.js
|
|
|
|
;
|
2013-01-27 11:26:48 -08:00
|
|
|
#include ../common/bagheeraclient.js
|
|
|
|
;
|
|
|
|
#include ../metrics/Metrics.jsm
|
|
|
|
;
|
|
|
|
#include healthreporter.jsm
|
|
|
|
;
|
|
|
|
#include profile.jsm
|
|
|
|
;
|
|
|
|
#include providers.jsm
|
|
|
|
;
|
|
|
|
|