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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js

Issue 2867783003: DevTools: move IsolatedFileSystem/IsolatedFileSystemManager into persistence/ (Closed)
Patch Set: fix order Created 3 years, 7 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/sources/SourcesNavigator.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
index ea64e67917fb4b29fce7cdba4e0adcc2b2948e21..9ba48c09e171c250895ef72b03decc0e384ff134 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js
@@ -145,7 +145,7 @@ Sources.FilesNavigatorView = class extends Sources.NavigatorView {
var title = Common.UIString('Add folder to workspace');
var addButton = new UI.ToolbarButton(title, 'largeicon-add', title);
addButton.addEventListener(
- UI.ToolbarButton.Events.Click, () => Workspace.isolatedFileSystemManager.addFileSystem());
+ UI.ToolbarButton.Events.Click, () => Persistence.isolatedFileSystemManager.addFileSystem());
toolbar.appendToolbarItem(addButton);
this.element.insertBefore(toolbar.element, this.element.firstChild);
}
@@ -295,7 +295,7 @@ Sources.SourcesNavigatorView.CreatingActionDelegate = class {
Common.Revealer.reveal(uiSourceCode);
return true;
case 'sources.add-folder-to-workspace':
- Workspace.isolatedFileSystemManager.addFileSystem();
+ Persistence.isolatedFileSystemManager.addFileSystem();
return true;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698