2013-12-13 09:22:02 -08:00
|
|
|
/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */
|
2012-05-21 04:12:37 -07: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/. */
|
2011-05-12 11:22:35 -07:00
|
|
|
|
2014-01-13 06:20:09 -08:00
|
|
|
"use strict";
|
2011-05-12 11:22:35 -07:00
|
|
|
|
2014-01-13 06:20:09 -08:00
|
|
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm")
|
|
|
|
Components.utils.import("resource://gre/modules/Deprecated.jsm");
|
2011-05-12 11:22:35 -07:00
|
|
|
|
2014-01-13 06:20:09 -08:00
|
|
|
let JSM = {};
|
|
|
|
Components.utils.import("resource://gre/modules/TelemetryPing.jsm", JSM);
|
2011-05-31 17:23:34 -07:00
|
|
|
|
2014-01-13 06:20:09 -08:00
|
|
|
function TelemetryPing() {
|
|
|
|
Deprecated.warning("nsITelemetryPing is deprecated. Please use TelemetryPing.jsm instead",
|
|
|
|
"https://bugzilla.mozilla.org/show_bug.cgi?id=913070");
|
2011-07-13 10:00:04 -07:00
|
|
|
}
|
|
|
|
|
2014-01-13 06:20:09 -08:00
|
|
|
TelemetryPing.prototype = Object.create(JSM.TelemetryPing);
|
|
|
|
TelemetryPing.prototype.classID = Components.ID("{55d6a5fa-130e-4ee6-a158-0133af3b86ba}");
|
|
|
|
TelemetryPing.prototype.QueryInterface = XPCOMUtils.generateQI([Components.interfaces.nsITelemetryPing]);
|
2011-05-12 11:22:35 -07:00
|
|
|
|
2012-10-31 09:13:28 -07:00
|
|
|
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([TelemetryPing]);
|