Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Unified Diff: webkit/tools/test_shell/test_shell_devtools_agent.cc

Issue 3005044: DevTools: Get rid of DevTools RPC. (Closed)
Patch Set: More files removed Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/test_shell_devtools_agent.cc
diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.cc b/webkit/tools/test_shell/test_shell_devtools_agent.cc
index 20e8c16bf118f301124777065cc9b6898ae0bec6..24f83d4bdd3b1236faf7927da94a63293c2dc78f 100644
--- a/webkit/tools/test_shell/test_shell_devtools_agent.cc
+++ b/webkit/tools/test_shell/test_shell_devtools_agent.cc
@@ -71,8 +71,8 @@ void TestShellDevToolsAgent::SetWebView(WebKit::WebView* web_view) {
web_view_ = web_view;
}
-void TestShellDevToolsAgent::sendMessageToFrontend(
- const WebDevToolsMessageData& data) {
+void TestShellDevToolsAgent::sendMessageToInspectorFrontend(
+ const WebString& data) {
if (dev_tools_client_)
dev_tools_client_->AsyncCall(TestShellDevToolsCallArgs(data));
}
@@ -119,7 +119,7 @@ void TestShellDevToolsAgent::AsyncCall(const TestShellDevToolsCallArgs &args) {
void TestShellDevToolsAgent::Call(const TestShellDevToolsCallArgs &args) {
WebDevToolsAgent* web_agent = GetWebAgent();
if (web_agent)
- web_agent->dispatchMessageFromFrontend(args.data_);
+ web_agent->dispatchOnInspectorBackend(args.data_);
if (TestShellDevToolsCallArgs::calls_count() == 1 && dev_tools_client_)
dev_tools_client_->all_messages_processed();
}
« no previous file with comments | « webkit/tools/test_shell/test_shell_devtools_agent.h ('k') | webkit/tools/test_shell/test_shell_devtools_callargs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698