mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1221505 - Remove osfile.jsm dependency from TelemetrySession.jsm. r=dexter
This commit is contained in:
parent
6b78ae1d62
commit
f54f20f1f6
@ -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…
Reference in New Issue
Block a user