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

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

Issue 2695123004: DevTools: Only provide static script content to UISourceCode (Closed)
Patch Set: Return null original for snippets Created 3 years, 10 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 28539df498677f437f49a0e16dd7409dc47f7db6..c6373a53d60d74f34b0a23aa6d874584d5813280 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
@@ -104,6 +104,12 @@ Workspace.Project.prototype = {
requestFileContent(uiSourceCode, callback) {},
/**
+ * @param {!Workspace.UISourceCode} uiSourceCode
+ * @return {!Promise<?string>}
+ */
+ requestOriginalFileContent(uiSourceCode) {},
+
+ /**
* @return {boolean}
*/
canSetFileContent() {},

Powered by Google App Engine
This is Rietveld 408576698