Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: content/browser/devtools/devtools_external_agent_proxy_impl.h

Issue 12950002: Introduce DevToolsExternalAgentProxy interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/devtools_external_agent_proxy_impl.h
diff --git a/content/browser/devtools/devtools_external_agent_proxy_impl.h b/content/browser/devtools/devtools_external_agent_proxy_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..39f40dfd2ccaa9a1887c6b3a6df9fcd3a270c572
--- /dev/null
+++ b/content/browser/devtools/devtools_external_agent_proxy_impl.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2013 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_BROWSER_DEVTOOLS_DEVTOOLS_EXTERNAL_AGENT_PROXY_IMPL_H
+#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_EXTERNAL_AGENT_PROXY_IMPL_H
+
+#include "base/memory/ref_counted.h"
+#include "content/public/browser/devtools_external_agent_proxy.h"
+
+namespace content {
+
+class DevToolsExternalAgentProxyImpl
+ : public DevToolsExternalAgentProxy {
+ public:
+ explicit DevToolsExternalAgentProxyImpl(
+ DevToolsExternalAgentProxyDelegate* delegate);
+ virtual ~DevToolsExternalAgentProxyImpl();
+
+ // DevToolsExternalAgentProxy implementation.
+ virtual scoped_refptr<DevToolsAgentHost> GetAgentHost() OVERRIDE;
+ virtual void ConnectionClosed() OVERRIDE;
+
+ private:
+ class ForwardingAgentHost;
+
+ scoped_refptr<ForwardingAgentHost> agent_host_;
+
+ DISALLOW_COPY_AND_ASSIGN(DevToolsExternalAgentProxyImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_EXTERNAL_AGENT_PROXY_IMPL_H
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/devtools_external_agent_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698