Instead of initializing dom_agent and css_agent in ash/shell.cc, move the initialization to Chrome.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a37a887a3612468ef05034aba0759e113d82e88a commit a37a887a3612468ef05034aba0759e113d82e88a Author: thanhph <thanhph@chromium.org> Date: Thu Jun 22 20:32:30 2017 Create DomAgent and CSSAgent in Chrome. When DevTools is moved out of ash to Chrome, this will enables using DevTools in Window and Linux platform. BUG= 711343 Review-Url: https://codereview.chromium.org/2887003003 Cr-Commit-Position: refs/heads/master@{#481653} [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/ash/BUILD.gn [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/ash/shell.cc [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/ash/shell.h [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/chrome/browser/ui/BUILD.gn [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc [modify] https://crrev.com/a37a887a3612468ef05034aba0759e113d82e88a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h
Comment 1 by thanhph@chromium.org
, Apr 13 2017