| Index: content/browser/devtools/devtools_frontend_host_impl.cc
|
| diff --git a/content/browser/devtools/devtools_frontend_host_impl.cc b/content/browser/devtools/devtools_frontend_host_impl.cc
|
| index 1b1c5bac918fa439aafcdaef0fd22b39120fdf47..4e708463b97fa1e7f7816f330703c0b1f1684f2c 100644
|
| --- a/content/browser/devtools/devtools_frontend_host_impl.cc
|
| +++ b/content/browser/devtools/devtools_frontend_host_impl.cc
|
| @@ -30,6 +30,16 @@
|
| DevToolsFrontendHostImpl::~DevToolsFrontendHostImpl() {
|
| }
|
|
|
| +void DevToolsFrontendHostImpl::DispatchOnDevToolsFrontend(
|
| + const std::string& message) {
|
| + if (!web_contents())
|
| + return;
|
| + RenderViewHost* target_host = web_contents()->GetRenderViewHost();
|
| + target_host->Send(new DevToolsClientMsg_DispatchOnInspectorFrontend(
|
| + target_host->GetRoutingID(),
|
| + message));
|
| +}
|
| +
|
| bool DevToolsFrontendHostImpl::OnMessageReceived(
|
| const IPC::Message& message) {
|
| bool handled = true;
|
|
|