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

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js

Issue 2417083002: DevTools: introduce WI.UISourceCode.requestMetadata() (Closed)
Patch Set: nits 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/workspace/Workspace.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js b/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
index dc1debecbab3369124c37a743dafe888422eb3e3..89d3c9c2badf142da28ed020649fce6f698a43c2 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
@@ -98,6 +98,12 @@ WebInspector.Project.prototype = {
/**
* @param {!WebInspector.UISourceCode} uiSourceCode
+ * @return {!Promise<?WebInspector.UISourceCodeMetadata>}
+ */
+ requestMetadata: function(uiSourceCode) { },
+
+ /**
+ * @param {!WebInspector.UISourceCode} uiSourceCode
* @param {function(?string)} callback
*/
requestFileContent: function(uiSourceCode, callback) { },

Powered by Google App Engine
This is Rietveld 408576698