services/healthreport/HealthReport.jsm
author Ralph Giles <giles@mozilla.com>
Thu, 17 Oct 2013 15:06:47 -0700
changeset 165163 2c07714a7a821531dfbd8b4dccadaff45ef3830c
parent 141492 eb460fae0ece75f8f284be8f9618cc085466987f
child 216570 940e5cddd6d0e0b118aa7f36a913369372c1df70
permissions -rw-r--r--
Bug 928132 - Remove obsolete 'restrict' define. r=derf From 80b8408c1466a245b5fdbb13df71d863a0dab292 Mon Sep 17 00:00:00 2001 This is no longer necessary now that we've updated to more recent reference code and causes problems on some compilers.

/* 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",
  "HealthReportProvider",
  "Metrics",
  "PlacesProvider",
  "ProfileMetadataProvider",
  "SearchesProvider",
  "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

#include ../common/async.js
;
#include ../common/bagheeraclient.js
;
#include ../metrics/Metrics.jsm
;
#include healthreporter.jsm
;
#include profile.jsm
;
#include providers.jsm
;