OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H |
6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H | 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/browser/devtools/devtools_agent_host_impl.h" | 10 #include "content/browser/devtools/devtools_agent_host_impl.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 private: | 22 private: |
23 virtual ~ForwardingAgentHost(); | 23 virtual ~ForwardingAgentHost(); |
24 | 24 |
25 // DevToolsExternalAgentProxy implementation. | 25 // DevToolsExternalAgentProxy implementation. |
26 virtual void DispatchOnClientHost(const std::string& message) OVERRIDE; | 26 virtual void DispatchOnClientHost(const std::string& message) OVERRIDE; |
27 virtual void ConnectionClosed() OVERRIDE; | 27 virtual void ConnectionClosed() OVERRIDE; |
28 | 28 |
29 // DevToolsAgentHostImpl implementation. | 29 // DevToolsAgentHostImpl implementation. |
30 virtual void Attach() OVERRIDE; | 30 virtual void Attach() OVERRIDE; |
31 virtual void Detach() OVERRIDE; | 31 virtual void Detach() OVERRIDE; |
32 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE; | 32 virtual void DispatchProtocolMessage(const std::string& message) OVERRIDE; |
33 | 33 |
34 scoped_ptr<DevToolsExternalAgentProxyDelegate> delegate_; | 34 scoped_ptr<DevToolsExternalAgentProxyDelegate> delegate_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace content | 37 } // namespace content |
38 | 38 |
39 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H | 39 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H |
OLD | NEW |