Bumping manifests a=b2g-bump
[gecko.git] / services / metrics / Metrics.jsm
blobe1049d4687339529118713c9b114d23c888c8b4e
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 #ifndef MERGED_COMPARTMENT
7 "use strict";
9 this.EXPORTED_SYMBOLS = ["Metrics"];
11 const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
13 const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
15 #endif
17 // We concatenate the JSMs together to eliminate compartment overhead.
18 // This is a giant hack until compartment overhead is no longer an
19 // issue.
20 #define MERGED_COMPARTMENT
22 #include providermanager.jsm
24 #include dataprovider.jsm
26 #include storage.jsm
29 this.Metrics = {
30   ProviderManager: ProviderManager,
31   DailyValues: DailyValues,
32   Measurement: Measurement,
33   Provider: Provider,
34   Storage: MetricsStorageBackend,
35   dateToDays: dateToDays,
36   daysToDate: daysToDate,