diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 09:55:16 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 09:55:16 +0000 |
commit | b5523b350fa5eee2eaf1aa4fb9bc63f14815539a (patch) | |
tree | 2d3c6e3995e3d56453e5271659ac9188f8c1b37b /chrome/chrome.gyp | |
parent | 826392bbf6f5aa5958d9a3a953350ab89b99b6da (diff) | |
download | chromium_src-b5523b350fa5eee2eaf1aa4fb9bc63f14815539a.zip chromium_src-b5523b350fa5eee2eaf1aa4fb9bc63f14815539a.tar.gz chromium_src-b5523b350fa5eee2eaf1aa4fb9bc63f14815539a.tar.bz2 |
DevTools: add initial support for shared workers debugging.
WorkerDevToolsManager is a service that is used for managing DevTools connections to DevTools agents in shared workers. It operates on the IO thread. Each debugged shared worker instance has unique devtools id which is used for addressing workers when passing messages between WorkerDevToolsManager and DevToolsManager. WorkerDevToolsManager translates those ids into WorkerProcessHost and worker_routing_id and back.
WorkerDevToolsMessageFilter passes worker messages to the WorkerDevToolsManager which in turn forwards them to DevToolsManager on the UI thread where they are dispatched to corresponding DevTools window.
Messages from DevTools frontend go through the DevToolsManager which forwards them to WorkerDevToolsManager on the IO thread where they are sent by means of corresponding WorkerProcessHost to the corresponding WorkerDevToolsAgent.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7248076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 6463e0e..9edc4ef 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -477,6 +477,10 @@ '../content/browser/debugger/extension_ports_remote_service.h', '../content/browser/debugger/inspectable_tab_proxy.cc', '../content/browser/debugger/inspectable_tab_proxy.h', + '../content/browser/debugger/worker_devtools_manager_io.cc', + '../content/browser/debugger/worker_devtools_manager_io.h', + '../content/browser/debugger/worker_devtools_message_filter.cc', + '../content/browser/debugger/worker_devtools_message_filter.h', ], 'conditions': [ ['toolkit_uses_gtk == 1', { |