diff options
Diffstat (limited to 'webkit/glue/devtools/debugger_agent_manager.h')
-rw-r--r-- | webkit/glue/devtools/debugger_agent_manager.h | 8 |
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_; |