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

Unified Diff: ash/common/wm_shell.cc

Issue 2455833002: Pass task_runner_ to server and send 404 when incorrect url (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | components/ui_devtools/devtools_server.h » ('j') | components/ui_devtools/devtools_server.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index a088cdee81850c796bcd49f3609c2aba6a97defc..27fb0a998c20b0f8ca745ab8feefc539880d1ffe 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -90,7 +90,8 @@ void WmShell::Initialize(const scoped_refptr<base::SequencedWorkerPool>& pool) {
wallpaper_controller_.reset(new WallpaperController(blocking_pool_));
// Start devtools server
- devtools_server_ = ui::devtools::UiDevToolsServer::Create();
+ devtools_server_ = ui::devtools::UiDevToolsServer::Create(
+ base::ThreadTaskRunnerHandle::Get());
sadrul 2016/10/28 02:32:27 Are sure the current thread (i.e. the UI thread) i
Sarmad Hashmi 2016/10/28 17:02:46 Changed.
if (devtools_server_) {
std::unique_ptr<ui::devtools::protocol::DOM::Backend> backend(
new devtools::AshDevToolsDOMAgent(this));
« no previous file with comments | « no previous file | components/ui_devtools/devtools_server.h » ('j') | components/ui_devtools/devtools_server.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698