DescriptionDevTools: 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92346
Patch Set 1 #Patch Set 2 : Removed some debug printing #
Total comments: 4
Patch Set 3 : Rebaseline #Patch Set 4 : Rebase #Patch Set 5 : Removed changes in DevToolsManager #
Total comments: 2
Patch Set 6 : rebase #
Total comments: 14
Patch Set 7 : Comments addressed #
Total comments: 12
Patch Set 8 : Comments addressed #Patch Set 9 : Refactored worker_devtools_agent.cc #
Total comments: 1
Patch Set 10 : Rebase #Messages
Total messages: 27 (0 generated)
|