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

Unified Diff: third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js

Issue 2384783003: DevTools: split Sources tree into Network and Filesystem trees. (Closed)
Patch Set: review comments addressed 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/persistence/Persistence.js
diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
index 7235e4cc14e9af450cec257bdb42f8c72b377113..d747b362675293038e86f04f8f5a259f8447dc6f 100644
--- a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
+++ b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
@@ -265,6 +265,16 @@ WebInspector.Persistence.prototype = {
},
/**
+ * @param {!WebInspector.UISourceCode} uiSourceCode
+ * @return {?WebInspector.UISourceCode}
+ */
+ fileSystem: function(uiSourceCode)
+ {
+ var binding = this.binding(uiSourceCode);
+ return binding ? binding.fileSystem : null;
+ },
+
+ /**
* @param {string} filePath
*/
_addFilePathBindingPrefixes: function(filePath)

Powered by Google App Engine
This is Rietveld 408576698