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

Unified Diff: chrome_frame/test/net/test_automation_provider.cc

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
« no previous file with comments | « chrome_frame/test/net/test_automation_provider.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/net/test_automation_provider.cc
===================================================================
--- chrome_frame/test/net/test_automation_provider.cc (revision 70108)
+++ chrome_frame/test/net/test_automation_provider.cc (working copy)
@@ -48,11 +48,11 @@
g_provider_instance_ = NULL;
}
-void TestAutomationProvider::OnMessageReceived(const IPC::Message& msg) {
+bool TestAutomationProvider::OnMessageReceived(const IPC::Message& msg) {
if (automation_resource_message_filter_->OnMessageReceived(msg))
- return; // Message handled by the filter.
+ return true; // Message handled by the filter.
- __super::OnMessageReceived(msg);
+ return __super::OnMessageReceived(msg);
}
// IPC override to grab the tab handle.
« no previous file with comments | « chrome_frame/test/net/test_automation_provider.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698