OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_REGISTRY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 class DevToolsAgentHost; | 12 class DevToolsAgentHost; |
14 class RenderViewHost; | 13 class RenderViewHost; |
15 class WebContents; | 14 class WebContents; |
16 | 15 |
17 class CONTENT_EXPORT DevToolsAgentHostRegistry { | 16 class CONTENT_EXPORT DevToolsAgentHostRegistry { |
(...skipping 15 matching lines...) Expand all Loading... |
33 static DevToolsAgentHost* GetDevToolsAgentHostForWorker( | 32 static DevToolsAgentHost* GetDevToolsAgentHostForWorker( |
34 int worker_process_id, | 33 int worker_process_id, |
35 int worker_route_id); | 34 int worker_route_id); |
36 | 35 |
37 static bool IsDebuggerAttached(WebContents* web_contents); | 36 static bool IsDebuggerAttached(WebContents* web_contents); |
38 }; | 37 }; |
39 | 38 |
40 } // namespace content | 39 } // namespace content |
41 | 40 |
42 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ | 41 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |
OLD | NEW |