OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/message_loop/message_loop_proxy.h" |
15 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
16 #include "content/public/browser/devtools_agent_host_client.h" | 17 #include "content/public/browser/devtools_agent_host_client.h" |
17 #include "url/gurl.h" | 18 #include "url/gurl.h" |
18 | 19 |
19 namespace base { | |
20 class SingleThreadTaskRunner; | |
21 } | |
22 | |
23 namespace net { | 20 namespace net { |
24 class ServerSocket; | 21 class ServerSocket; |
25 } | 22 } |
26 | 23 |
27 namespace content { | 24 namespace content { |
28 | 25 |
29 class BrowserContext; | 26 class BrowserContext; |
30 class DevToolsExternalAgentProxyDelegate; | 27 class DevToolsExternalAgentProxyDelegate; |
31 class WebContents; | 28 class WebContents; |
32 | 29 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 static void RemoveAgentStateCallback(const AgentStateCallback& callback); | 152 static void RemoveAgentStateCallback(const AgentStateCallback& callback); |
156 | 153 |
157 protected: | 154 protected: |
158 friend class base::RefCounted<DevToolsAgentHost>; | 155 friend class base::RefCounted<DevToolsAgentHost>; |
159 virtual ~DevToolsAgentHost() {} | 156 virtual ~DevToolsAgentHost() {} |
160 }; | 157 }; |
161 | 158 |
162 } // namespace content | 159 } // namespace content |
163 | 160 |
164 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 161 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |