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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2506463002: DevTools: remove Bindings.NetworkMapping.addMapping/removeMapping methods (Closed)
Patch Set: rebaseline Created 4 years, 1 month 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/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 885f885231e4abf8c64aca2bc874e787cd6b6e18..b0fcf5d4e0e9630d664c82a89be59c6c5e9710e6 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -184,12 +184,11 @@ Main.Main = class {
Workspace.fileManager = new Workspace.FileManager();
Workspace.workspace = new Workspace.Workspace();
Common.formatterWorkerPool = new Common.FormatterWorkerPool();
- Workspace.fileSystemMapping = new Workspace.FileSystemMapping();
+ Workspace.fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
var fileSystemWorkspaceBinding =
new Bindings.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemManager, Workspace.workspace);
- Bindings.networkMapping = new Bindings.NetworkMapping(
- SDK.targetManager, Workspace.workspace, fileSystemWorkspaceBinding, Workspace.fileSystemMapping);
+ Bindings.networkMapping = new Bindings.NetworkMapping(Workspace.workspace);
Main.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targetManager, Workspace.workspace);
Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsoleMessageHelper(Workspace.workspace);
Bindings.cssWorkspaceBinding =

Powered by Google App Engine
This is Rietveld 408576698