OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ | |
7 #pragma once | |
8 | |
9 #include "content/common/content_export.h" | |
10 | |
11 class DevToolsAgentHost; | |
12 class RenderViewHost; | |
13 | |
14 namespace content { | |
15 | |
16 class CONTENT_EXPORT DevToolsAgentHostRegistry { | |
17 public: | |
18 static DevToolsAgentHost* GetDevToolsAgentHost(RenderViewHost* rvh); | |
19 static DevToolsAgentHost* FindDevToolsAgentHost(RenderViewHost* rvh); | |
pfeldman
2011/11/21 14:52:21
nit: Difference between Get and Find is not always
yurys
2011/11/21 15:07:14
It is already done(HasDevToolsAgentHost), this com
| |
20 | |
21 static DevToolsAgentHost* GetDevToolsAgentHostForWorker( | |
22 int worker_process_id, | |
23 int worker_route_id); | |
24 }; | |
25 | |
26 } // namespace content | |
27 | |
28 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ | |
OLD | NEW |