Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js b/third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js
index ab9a7949e09c3ab849ffdf79febb33e48ddb6cc9..f9f72a0cba8b8e68c441b2fbbb69efd413dcd417 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js
@@ -37,7 +37,7 @@ WebInspector.TempFile = function()
{
this._fileEntry = null;
this._writer = null;
-}
+};
/**
* @param {string} dirPath
@@ -123,7 +123,7 @@ WebInspector.TempFile.create = function(dirPath, name)
.then(getFileEntry)
.then(createFileWriter)
.then(truncateFile);
-}
+};
WebInspector.TempFile.prototype = {
/**
@@ -137,11 +137,11 @@ WebInspector.TempFile.prototype = {
{
WebInspector.console.error("Failed to write into a temp file: " + e.target.error.message);
callback(-1);
- }
+ };
this._writer.onwriteend = function(e)
{
callback(e.target.length);
- }
+ };
this._writer.write(blob);
},
@@ -224,7 +224,7 @@ WebInspector.TempFile.prototype = {
if (this._fileEntry)
this._fileEntry.remove(function() {});
}
-}
+};
/**
* @constructor
@@ -243,7 +243,7 @@ WebInspector.DeferredTempFile = function(dirPath, name)
this._pendingReads = [];
WebInspector.TempFile.create(dirPath, name)
.then(this._didCreateTempFile.bind(this), this._failedToCreateTempFile.bind(this));
-}
+};
WebInspector.DeferredTempFile.prototype = {
/**
@@ -385,7 +385,7 @@ WebInspector.DeferredTempFile.prototype = {
this._tempFile.remove();
this._tempFile = null;
}
-}
+};
/**
* @return {!Promise.<undefined>}
@@ -399,7 +399,7 @@ WebInspector.TempFile.ensureTempStorageCleared = function()
});
}
return WebInspector.TempFile._storageCleanerPromise;
-}
+};
/**
* @constructor
@@ -410,7 +410,7 @@ WebInspector.TempFileBackingStorage = function(dirName)
{
this._dirName = dirName;
this.reset();
-}
+};
/**
* @typedef {{
@@ -551,4 +551,4 @@ WebInspector.TempFileBackingStorage.prototype = {
{
this._file.copyToOutputStream(outputStream, delegate);
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698