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" | |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "content/public/browser/devtools_agent_host_client.h" | 16 #include "content/public/browser/devtools_agent_host_client.h" |
18 #include "url/gurl.h" | 17 #include "url/gurl.h" |
19 | 18 |
| 19 namespace base { |
| 20 class SingleThreadTaskRunner; |
| 21 } |
| 22 |
20 namespace net { | 23 namespace net { |
21 class ServerSocket; | 24 class ServerSocket; |
22 } | 25 } |
23 | 26 |
24 namespace content { | 27 namespace content { |
25 | 28 |
26 class BrowserContext; | 29 class BrowserContext; |
27 class DevToolsExternalAgentProxyDelegate; | 30 class DevToolsExternalAgentProxyDelegate; |
28 class WebContents; | 31 class WebContents; |
29 | 32 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 static void RemoveAgentStateCallback(const AgentStateCallback& callback); | 155 static void RemoveAgentStateCallback(const AgentStateCallback& callback); |
153 | 156 |
154 protected: | 157 protected: |
155 friend class base::RefCounted<DevToolsAgentHost>; | 158 friend class base::RefCounted<DevToolsAgentHost>; |
156 virtual ~DevToolsAgentHost() {} | 159 virtual ~DevToolsAgentHost() {} |
157 }; | 160 }; |
158 | 161 |
159 } // namespace content | 162 } // namespace content |
160 | 163 |
161 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 164 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |