diff options
Diffstat (limited to 'content/browser/quota_dispatcher_host.cc')
| -rw-r--r-- | content/browser/quota_dispatcher_host.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/content/browser/quota_dispatcher_host.cc b/content/browser/quota_dispatcher_host.cc index ca636fe..fcee633 100644 --- a/content/browser/quota_dispatcher_host.cc +++ b/content/browser/quota_dispatcher_host.cc @@ -220,17 +220,15 @@ QuotaDispatcherHost::QuotaDispatcherHost( weak_factory_(this) { } -bool QuotaDispatcherHost::OnMessageReceived( - const IPC::Message& message, bool* message_was_ok) { - *message_was_ok = true; +bool QuotaDispatcherHost::OnMessageReceived(const IPC::Message& message) { bool handled = true; - IPC_BEGIN_MESSAGE_MAP_EX(QuotaDispatcherHost, message, *message_was_ok) + IPC_BEGIN_MESSAGE_MAP(QuotaDispatcherHost, message) IPC_MESSAGE_HANDLER(QuotaHostMsg_QueryStorageUsageAndQuota, OnQueryStorageUsageAndQuota) IPC_MESSAGE_HANDLER(QuotaHostMsg_RequestStorageQuota, OnRequestStorageQuota) IPC_MESSAGE_UNHANDLED(handled = false) - IPC_END_MESSAGE_MAP_EX() + IPC_END_MESSAGE_MAP() return handled; } |
