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

Unified Diff: chrome/browser/ui/webui/workers_ui.cc

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 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: chrome/browser/ui/webui/workers_ui.cc
diff --git a/chrome/browser/ui/webui/workers_ui.cc b/chrome/browser/ui/webui/workers_ui.cc
index 4c5a3e70c9c95de6d7889e18f70e0053a220f2ef..9748426acc441fd0ea3509716d81dfa05ed0d5a6 100644
--- a/chrome/browser/ui/webui/workers_ui.cc
+++ b/chrome/browser/ui/webui/workers_ui.cc
@@ -16,7 +16,7 @@
#include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
#include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/debugger/worker_devtools_manager.h"
+#include "content/public/browser/devtools_agent_host_registry.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/worker_host/worker_process_host.h"
#include "content/browser/worker_host/worker_service.h"
@@ -26,6 +26,8 @@
#include "ui/base/resource/resource_bundle.h"
using content::BrowserThread;
+using content::DevToolsAgentHost;
+using content::DevToolsAgentHostRegistry;
static const char kWorkersDataFile[] = "workers_data.json";
@@ -141,7 +143,7 @@ void WorkersDOMHandler::HandleOpenDevTools(const ListValue* args) {
if (!profile)
return;
DevToolsAgentHost* agent_host =
- WorkerDevToolsManager::GetDevToolsAgentHostForWorker(
+ DevToolsAgentHostRegistry::GetDevToolsAgentHostForWorker(
worker_process_host_id,
worker_route_id);
DevToolsWindow::OpenDevToolsWindowForWorker(profile, agent_host);

Powered by Google App Engine
This is Rietveld 408576698