Index: content/browser/devtools/forwarding_agent_host.cc |
diff --git a/content/browser/devtools/forwarding_agent_host.cc b/content/browser/devtools/forwarding_agent_host.cc |
index f1524e1b7e1d9798c1b0dbf4f40899d768c04c4a..5267ae1974f0b8675790fc222a6d74be44ad5466 100644 |
--- a/content/browser/devtools/forwarding_agent_host.cc |
+++ b/content/browser/devtools/forwarding_agent_host.cc |
@@ -17,12 +17,11 @@ ForwardingAgentHost::~ForwardingAgentHost() { |
} |
void ForwardingAgentHost::DispatchOnClientHost(const std::string& message) { |
- DevToolsManagerImpl::GetInstance()->DispatchOnInspectorFrontend( |
- this, message); |
+ SendMessageToClient(message); |
} |
void ForwardingAgentHost::ConnectionClosed() { |
- NotifyCloseListener(); |
+ HostClosed(); |
} |
void ForwardingAgentHost::Attach() { |
@@ -33,7 +32,7 @@ void ForwardingAgentHost::Detach() { |
delegate_->Detach(); |
} |
-void ForwardingAgentHost::DispatchOnInspectorBackend( |
+void ForwardingAgentHost::DispatchProtocolMessage( |
const std::string& message) { |
delegate_->SendMessageToBackend(message); |
} |