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

Unified Diff: third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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/snippets/SnippetStorage.js
diff --git a/third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js b/third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js
index e4f1894325f20a7a6cd5f029bd5ccec25cfc455e..0fd019809126bde42f9366aaca0b503a08341051 100644
--- a/third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js
+++ b/third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js
@@ -172,6 +172,9 @@ WebInspector.Snippet.prototype = {
return this._name;
},
+ /**
+ * @param {string} name
+ */
set name(name)
{
if (this._name === name)
@@ -189,6 +192,9 @@ WebInspector.Snippet.prototype = {
return this._content;
},
+ /**
+ * @param {string} content
+ */
set content(content)
{
if (this._content === content)

Powered by Google App Engine
This is Rietveld 408576698