Index: chrome/renderer/devtools_agent.cc |
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc |
index aad6ceb759e9aa35af04bd94be67db87aa2c6d9c..d1e81e2aa2b78ea9d183da4155449347c0ef7a1d 100644 |
--- a/chrome/renderer/devtools_agent.cc |
+++ b/chrome/renderer/devtools_agent.cc |
@@ -6,6 +6,7 @@ |
#include "chrome/common/devtools_messages.h" |
#include "chrome/common/render_messages.h" |
+#include "chrome/renderer/devtools_agent_filter.h" |
#include "chrome/renderer/render_view.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" |
@@ -151,3 +152,18 @@ WebDevToolsAgent* DevToolsAgent::GetWebAgent() { |
return NULL; |
return web_view->devToolsAgent(); |
} |
+ |
+// static |
+void WebKit::WebDevToolsAgentClient::sendMessageToFrontendOnIOThread( |
+ const WebString& class_name, |
+ const WebString& method_name, |
+ const WebString& param1, |
+ const WebString& param2, |
+ const WebString& param3) { |
+ DevToolsAgentFilter::SendRpcMessage( |
+ class_name.utf8(), |
+ method_name.utf8(), |
+ param1.utf8(), |
+ param2.utf8(), |
+ param3.utf8()); |
+} |