summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/debugger_agent_manager.h
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 07:35:50 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 07:35:50 +0000
commitac1f1e06a0e1a9a1ff1c12ce57ff248a3f10af69 (patch)
treef5dd16fce7247f16a44a1c22441d0171c20f228b /webkit/glue/devtools/debugger_agent_manager.h
parent00f36bd395891e8ee134ca9f8a0c99b0f846aa85 (diff)
downloadchromium_src-ac1f1e06a0e1a9a1ff1c12ce57ff248a3f10af69.zip
chromium_src-ac1f1e06a0e1a9a1ff1c12ce57ff248a3f10af69.tar.gz
chromium_src-ac1f1e06a0e1a9a1ff1c12ce57ff248a3f10af69.tar.bz2
DevTools: use event context to decide which agent should be used for handling the event.
Review URL: http://codereview.chromium.org/113629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/debugger_agent_manager.h')
-rw-r--r--webkit/glue/devtools/debugger_agent_manager.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/webkit/glue/devtools/debugger_agent_manager.h b/webkit/glue/devtools/debugger_agent_manager.h
index e0774bb..3726eb6 100644
--- a/webkit/glue/devtools/debugger_agent_manager.h
+++ b/webkit/glue/devtools/debugger_agent_manager.h
@@ -6,7 +6,6 @@
#define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_
#include <wtf/HashMap.h>
-#include <wtf/HashSet.h>
#include "base/basictypes.h"
#include "v8/include/v8-debug.h"
@@ -62,11 +61,10 @@ class DebuggerAgentManager {
static void SendContinueCommandToV8();
static DebuggerAgentImpl* FindAgentForCurrentV8Context();
- static DebuggerAgentImpl* FindDebuggerAgentForToolsAgent(
- int caller_id);
+ static DebuggerAgentImpl* DebuggerAgentForHostId(int host_id);
- typedef HashSet<DebuggerAgentImpl*> AttachedAgentsSet;
- static AttachedAgentsSet* attached_agents_;
+ typedef HashMap<int, DebuggerAgentImpl*> AttachedAgentsMap;
+ static AttachedAgentsMap* attached_agents_map_;
static WebDevToolsAgent::MessageLoopDispatchHandler
message_loop_dispatch_handler_;