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

Unified Diff: third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.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/persistence/FileSystemWorkspaceBinding.js
diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
index fec928ab97abeb60429ceea063a348dcfe7358be..641ec2fa514d8f401d5043678cf34441067ef955 100644
--- a/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
+++ b/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
@@ -310,6 +310,16 @@ Persistence.FileSystemWorkspaceBinding.FileSystem = class extends Workspace.Proj
/**
* @override
+ * @param {!Workspace.UISourceCode} uiSourceCode
+ * @return {!Promise<?string>}
+ */
+ requestOriginalFileContent(uiSourceCode) {
+ return Promise.resolve(/** @type {?string} **/ (null));
+ }
+
+
+ /**
+ * @override
* @return {boolean}
*/
canSetFileContent() {

Powered by Google App Engine
This is Rietveld 408576698