Index: chrome/service/service_ipc_server.cc |
=================================================================== |
--- chrome/service/service_ipc_server.cc (revision 70108) |
+++ chrome/service/service_ipc_server.cc (working copy) |
@@ -77,7 +77,8 @@ |
return channel_->Send(msg); |
} |
-void ServiceIPCServer::OnMessageReceived(const IPC::Message& msg) { |
+bool ServiceIPCServer::OnMessageReceived(const IPC::Message& msg) { |
+ bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(ServiceIPCServer, msg) |
IPC_MESSAGE_HANDLER(ServiceMsg_EnableCloudPrintProxy, |
OnEnableCloudPrintProxy) |
@@ -100,7 +101,9 @@ |
IPC_MESSAGE_HANDLER(ServiceMsg_Hello, OnHello); |
IPC_MESSAGE_HANDLER(ServiceMsg_Shutdown, OnShutdown); |
IPC_MESSAGE_HANDLER(ServiceMsg_UpdateAvailable, OnUpdateAvailable); |
+ IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
+ return handled; |
} |
void ServiceIPCServer::OnEnableCloudPrintProxy(const std::string& lsid) { |