Chromium Code Reviews| Index: content/public/browser/devtools/devtools_agent_host_registry.h |
| diff --git a/content/public/browser/devtools/devtools_agent_host_registry.h b/content/public/browser/devtools/devtools_agent_host_registry.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fae3b383fa1d848cdc1d02f734cf685a645d9f94 |
| --- /dev/null |
| +++ b/content/public/browser/devtools/devtools_agent_host_registry.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |
| +#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |
| +#pragma once |
| + |
| +#include "content/common/content_export.h" |
| + |
| +class DevToolsAgentHost; |
| +class RenderViewHost; |
| + |
| +namespace content { |
| + |
| +class CONTENT_EXPORT DevToolsAgentHostRegistry { |
| + public: |
| + static DevToolsAgentHost* GetDevToolsAgentHost(RenderViewHost* rvh); |
| + 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
|
| + |
| + static DevToolsAgentHost* GetDevToolsAgentHostForWorker( |
| + int worker_process_id, |
| + int worker_route_id); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_REGISTRY_H_ |