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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.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/sdk/SourceMap.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
index 7ebf89595e4d96367cf14f3ce1b750b9192b0ab3..aff4b2cff13d6c36b3cdeb75fcdb34ddceb47bc9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
@@ -94,49 +94,49 @@ SDK.SourceMap.prototype = {
/**
* @return {string}
*/
- compiledURL: function() {},
+ compiledURL() {},
/**
* @return {string}
*/
- url: function() {},
+ url() {},
/**
* @return {!Array<string>}
*/
- sourceURLs: function() {},
+ sourceURLs() {},
/**
* @param {string} sourceURL
* @param {!Common.ResourceType} contentType
* @return {!Common.ContentProvider}
*/
- sourceContentProvider: function(sourceURL, contentType) {},
+ sourceContentProvider(sourceURL, contentType) {},
/**
* @param {string} sourceURL
* @return {?string}
*/
- embeddedContentByURL: function(sourceURL) {},
+ embeddedContentByURL(sourceURL) {},
/**
* @param {number} lineNumber in compiled resource
* @param {number} columnNumber in compiled resource
* @return {?SDK.SourceMapEntry}
*/
- findEntry: function(lineNumber, columnNumber) {},
+ findEntry(lineNumber, columnNumber) {},
/**
* @return {boolean}
*/
- editable: function() {},
+ editable() {},
/**
* @param {!Array<!Common.TextRange>} ranges
* @param {!Array<string>} texts
* @return {!Promise<?SDK.SourceMap.EditResult>}
*/
- editCompiled: function(ranges, texts) {},
+ editCompiled(ranges, texts) {},
};
/**
@@ -166,7 +166,7 @@ SDK.SourceMapFactory.prototype = {
* @param {!SDK.SourceMap} sourceMap
* @return {!Promise<?SDK.SourceMap>}
*/
- editableSourceMap: function(target, sourceMap) {},
+ editableSourceMap(target, sourceMap) {},
};
/**

Powered by Google App Engine
This is Rietveld 408576698