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

Unified Diff: content/child/push_messaging/push_dispatcher.cc

Issue 793403002: Implement WebPushProvider.unregister() in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mvan_2
Patch Set: jochen review comments Created 6 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
Index: content/child/push_messaging/push_dispatcher.cc
diff --git a/content/child/push_messaging/push_dispatcher.cc b/content/child/push_messaging/push_dispatcher.cc
index 09ee1ccf43770ff49c6b7b03d738cdc131c94283..355a88b612756059141e1010b57030dfbfa48388 100644
--- a/content/child/push_messaging/push_dispatcher.cc
+++ b/content/child/push_messaging/push_dispatcher.cc
@@ -72,7 +72,9 @@ bool PushDispatcher::ShouldHandleMessage(const IPC::Message& msg) {
return msg.type() == PushMessagingMsg_RegisterFromWorkerSuccess::ID ||
msg.type() == PushMessagingMsg_RegisterFromWorkerError::ID ||
msg.type() == PushMessagingMsg_GetPermissionStatusSuccess::ID ||
- msg.type() == PushMessagingMsg_GetPermissionStatusError::ID;
+ msg.type() == PushMessagingMsg_GetPermissionStatusError::ID ||
+ msg.type() == PushMessagingMsg_UnregisterSuccess::ID ||
+ msg.type() == PushMessagingMsg_UnregisterError::ID;
}
} // namespace content
« no previous file with comments | « content/browser/push_messaging/push_messaging_message_filter.cc ('k') | content/child/push_messaging/push_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698