services/healthreport/HealthReport.jsm

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/services/healthreport/HealthReport.jsm	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +"use strict";
     1.9 +
    1.10 +this.EXPORTED_SYMBOLS = [
    1.11 +  "HealthReporter",
    1.12 +  "AddonsProvider",
    1.13 +  "AppInfoProvider",
    1.14 +  "CrashesProvider",
    1.15 +  "HealthReportProvider",
    1.16 +  "Metrics",
    1.17 +  "PlacesProvider",
    1.18 +  "ProfileMetadataProvider",
    1.19 +  "SearchesProvider",
    1.20 +  "SessionsProvider",
    1.21 +  "SysInfoProvider",
    1.22 +];
    1.23 +
    1.24 +const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
    1.25 +
    1.26 +const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
    1.27 +
    1.28 +// We concatenate the JSMs together to eliminate compartment overhead.
    1.29 +// This is a giant hack until compartment overhead is no longer an
    1.30 +// issue.
    1.31 +#define MERGED_COMPARTMENT
    1.32 +
    1.33 +#include ../common/async.js
    1.34 +;
    1.35 +#include ../common/bagheeraclient.js
    1.36 +;
    1.37 +#include ../metrics/Metrics.jsm
    1.38 +;
    1.39 +#include healthreporter.jsm
    1.40 +;
    1.41 +#include profile.jsm
    1.42 +;
    1.43 +#include providers.jsm
    1.44 +;
    1.45 +

mercurial