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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js

Issue 2418813005: DevTools: [Persistence] implement automapping (Closed)
Patch Set: address comments 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/bindings/FileSystemWorkspaceBinding.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
index a75de2816a17947ad278bb3329c7ac0d9b46a334..d519b1a48154f028ed0a777ee04dc33bba5addc8 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
@@ -219,6 +219,14 @@ WebInspector.FileSystemWorkspaceBinding.FileSystem.prototype = {
},
/**
+ * @return {!Array<string>}
+ */
+ gitFolders: function()
+ {
+ return this._fileSystem.gitFolders().map(folder => this._fileSystemPath + "/" + folder);
+ },
+
+ /**
* @param {!WebInspector.UISourceCode} uiSourceCode
* @return {string}
*/
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698