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

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: browsertests and override fix 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..a807104fbd687e72335d2b526ce0e4023af52606 100644
--- a/content/child/push_messaging/push_dispatcher.cc
+++ b/content/child/push_messaging/push_dispatcher.cc
@@ -72,7 +72,8 @@ 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_UnregisterResponse::ID;
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698