OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ | 5 #ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ |
6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ | 6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ |
7 | 7 |
8 #include <wtf/HashMap.h> | 8 #include <wtf/HashMap.h> |
9 #include <wtf/HashSet.h> | 9 #include <wtf/HashSet.h> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 static DebuggerAgentImpl* FindAgentForCurrentV8Context(); | 58 static DebuggerAgentImpl* FindAgentForCurrentV8Context(); |
59 static DebuggerAgentImpl* FindDebuggerAgentForToolsAgent( | 59 static DebuggerAgentImpl* FindDebuggerAgentForToolsAgent( |
60 int caller_id); | 60 int caller_id); |
61 | 61 |
62 typedef HashSet<DebuggerAgentImpl*> AttachedAgentsSet; | 62 typedef HashSet<DebuggerAgentImpl*> AttachedAgentsSet; |
63 static AttachedAgentsSet* attached_agents_; | 63 static AttachedAgentsSet* attached_agents_; |
64 | 64 |
65 static WebDevToolsAgent::MessageLoopDispatchHandler | 65 static WebDevToolsAgent::MessageLoopDispatchHandler |
66 message_loop_dispatch_handler_; | 66 message_loop_dispatch_handler_; |
| 67 static bool in_host_dispatch_handler_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(DebuggerAgentManager); | 69 DISALLOW_COPY_AND_ASSIGN(DebuggerAgentManager); |
69 }; | 70 }; |
70 | 71 |
71 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ | 72 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_ |
OLD | NEW |