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

Unified Diff: content/browser/debugger/devtools_handler.cc

Issue 7248076: DevTools: add initial support for shared workers debugging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 5 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 | « chrome/chrome.gyp ('k') | content/browser/debugger/devtools_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/debugger/devtools_handler.cc
diff --git a/content/browser/debugger/devtools_handler.cc b/content/browser/debugger/devtools_handler.cc
index 396ef1abc5233f43b97c5ef4dbbf48798da32356..fc97c408b6503edd3767337ccd1cde87bf49af1d 100644
--- a/content/browser/debugger/devtools_handler.cc
+++ b/content/browser/debugger/devtools_handler.cc
@@ -7,6 +7,7 @@
#include "content/browser/debugger/devtools_file_util.h"
#include "content/browser/debugger/devtools_manager.h"
#include "content/browser/debugger/devtools_window.h"
+#include "content/browser/debugger/worker_devtools_manager_io.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/devtools_messages.h"
@@ -42,6 +43,9 @@ void DevToolsHandler::OnForwardToAgent(const IPC::Message& message) {
render_view_host());
if (!window)
return;
+ if (WorkerDevToolsManagerIO::ForwardToWorkerDevToolsAgentOnUIThread(
+ window, message))
+ return;
DevToolsManager::GetInstance()->ForwardToDevToolsAgent(window, message);
}
« no previous file with comments | « chrome/chrome.gyp ('k') | content/browser/debugger/devtools_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698