mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
Bug 1221505 - Remove osfile.jsm dependency from TelemetrySession.jsm. r=dexter
This commit is contained in:
parent
20c4603237
commit
ca6f99ed19
@ -12,7 +12,6 @@ const Cu = Components.utils;
|
||||
|
||||
Cu.import("resource://gre/modules/debug.js", this);
|
||||
Cu.import("resource://gre/modules/Log.jsm");
|
||||
Cu.import("resource://gre/modules/osfile.jsm", this);
|
||||
Cu.import("resource://gre/modules/Services.jsm", this);
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm", this);
|
||||
Cu.import("resource://gre/modules/Promise.jsm", this);
|
||||
@ -1840,9 +1839,7 @@ var Impl = {
|
||||
* If not provided, a new payload is gathered.
|
||||
*/
|
||||
_saveAbortedSessionPing: function(aProvidedPayload = null) {
|
||||
const FILE_PATH = OS.Path.join(OS.Constants.Path.profileDir, DATAREPORTING_DIRECTORY,
|
||||
ABORTED_SESSION_FILE_NAME);
|
||||
this._log.trace("_saveAbortedSessionPing - ping path: " + FILE_PATH);
|
||||
this._log.trace("_saveAbortedSessionPing");
|
||||
|
||||
let payload = null;
|
||||
if (aProvidedPayload) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user