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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAuditCategory.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (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/extensions/ExtensionAuditCategory.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAuditCategory.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAuditCategory.js
index 4fe89f629a2c43fce1bb50f6b470f66bf311d2e6..50314605682d193e8f3f794beacd42af2e7d2a06 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAuditCategory.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAuditCategory.js
@@ -55,7 +55,7 @@ Extensions.ExtensionAuditCategoryResults.prototype = {
/**
* @return {string}
*/
- id: function() {},
+ id() {},
/**
* @param {string} displayName
@@ -63,12 +63,12 @@ Extensions.ExtensionAuditCategoryResults.prototype = {
* @param {string} severity
* @param {!Object} details
*/
- addResult: function(displayName, description, severity, details) {},
+ addResult(displayName, description, severity, details) {},
/**
* @param {number} progress
*/
- updateProgress: function(progress) {},
+ updateProgress(progress) {},
- done: function() {}
+ done() {}
};

Powered by Google App Engine
This is Rietveld 408576698