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 #include "content/browser/devtools/forwarding_agent_host.h" | 5 #include "content/browser/devtools/forwarding_agent_host.h" |
6 | 6 |
7 #include "content/browser/devtools/devtools_manager_impl.h" | 7 #include "content/browser/devtools/devtools_manager_impl.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 void ForwardingAgentHost::Detach() { | 31 void ForwardingAgentHost::Detach() { |
32 delegate_->Detach(); | 32 delegate_->Detach(); |
33 } | 33 } |
34 | 34 |
35 void ForwardingAgentHost::DispatchProtocolMessage( | 35 void ForwardingAgentHost::DispatchProtocolMessage( |
36 const std::string& message) { | 36 const std::string& message) { |
37 delegate_->SendMessageToBackend(message); | 37 delegate_->SendMessageToBackend(message); |
38 } | 38 } |
39 | 39 |
| 40 DevToolsAgentHost::Type ForwardingAgentHost::GetType() { |
| 41 return TYPE_EXTERNAL; |
| 42 } |
| 43 |
| 44 std::string ForwardingAgentHost::GetTitle() { |
| 45 return ""; |
| 46 } |
| 47 |
| 48 GURL ForwardingAgentHost::GetURL() { |
| 49 return GURL(); |
| 50 } |
| 51 |
| 52 bool ForwardingAgentHost::Activate() { |
| 53 return false; |
| 54 } |
| 55 |
| 56 bool ForwardingAgentHost::Close() { |
| 57 return false; |
| 58 } |
| 59 |
40 } // content | 60 } // content |
OLD | NEW |