summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_devtools_browsertests.cc
diff options
context:
space:
mode:
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 09:08:17 +0000
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 09:08:17 +0000
commit221f4130ad35eb3074ee079dae571157da727a9d (patch)
treed647bcdd73ef1e35568d4beb3a7a0e3ed4d4b993 /chrome/browser/extensions/extension_devtools_browsertests.cc
parent797f01294b84d46813da707e0ed406dfd27a0f35 (diff)
downloadchromium_src-221f4130ad35eb3074ee079dae571157da727a9d.zip
chromium_src-221f4130ad35eb3074ee079dae571157da727a9d.tar.gz
chromium_src-221f4130ad35eb3074ee079dae571157da727a9d.tar.bz2
DevTools: use WebDevToolsMessageData for devtools rpc messages
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34333 Review URL: http://codereview.chromium.org/463065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_devtools_browsertests.cc')
-rw-r--r--chrome/browser/extensions/extension_devtools_browsertests.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_devtools_browsertests.cc b/chrome/browser/extensions/extension_devtools_browsertests.cc
index a2eff3c..cf6ffd5 100644
--- a/chrome/browser/extensions/extension_devtools_browsertests.cc
+++ b/chrome/browser/extensions/extension_devtools_browsertests.cc
@@ -81,8 +81,11 @@ IN_PROC_BROWSER_TEST_F(ExtensionDevToolsBrowserTest, TimelineApi) {
// Test onPageEvent event.
result = false;
- DevToolsClientMsg_RpcMessage pageEventMessage(
- "ApuAgentDelegate", "DispatchToApu", "", "", "");
+
+ DevToolsMessageData message_data;
+ message_data.class_name = "ApuAgentDelegate";
+ message_data.method_name = "DispatchToApu";
+ DevToolsClientMsg_RpcMessage pageEventMessage(message_data);
devtools_client_host->SendMessageToClient(pageEventMessage);
ui_test_utils::ExecuteJavaScriptAndExtractBool(
host->render_view_host(), L"", L"testReceivePageEvent()", &result);