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/debug.js", this);
|
||||||
Cu.import("resource://gre/modules/Log.jsm");
|
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/Services.jsm", this);
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm", this);
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm", this);
|
||||||
Cu.import("resource://gre/modules/Promise.jsm", this);
|
Cu.import("resource://gre/modules/Promise.jsm", this);
|
||||||
@ -1840,9 +1839,7 @@ var Impl = {
|
|||||||
* If not provided, a new payload is gathered.
|
* If not provided, a new payload is gathered.
|
||||||
*/
|
*/
|
||||||
_saveAbortedSessionPing: function(aProvidedPayload = null) {
|
_saveAbortedSessionPing: function(aProvidedPayload = null) {
|
||||||
const FILE_PATH = OS.Path.join(OS.Constants.Path.profileDir, DATAREPORTING_DIRECTORY,
|
this._log.trace("_saveAbortedSessionPing");
|
||||||
ABORTED_SESSION_FILE_NAME);
|
|
||||||
this._log.trace("_saveAbortedSessionPing - ping path: " + FILE_PATH);
|
|
||||||
|
|
||||||
let payload = null;
|
let payload = null;
|
||||||
if (aProvidedPayload) {
|
if (aProvidedPayload) {
|
||||||
|
Loading…
Reference in New Issue
Block a user