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

Unified Diff: content/common/push_messaging_messages.h

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/common/push_messaging_messages.h
diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h
index 6dfacf9c90376b9f29daec29e9357bd9d6fbc7fe..0be8471812b5e02d75fae0bc9c5f4072e8665755 100644
--- a/content/common/push_messaging_messages.h
+++ b/content/common/push_messaging_messages.h
@@ -55,6 +55,10 @@ IPC_MESSAGE_ROUTED1(PushMessagingMsg_PermissionStatusFailure,
IPC_MESSAGE_CONTROL1(PushMessagingMsg_GetPermissionStatusError,
int32 /* request_id */)
+IPC_MESSAGE_CONTROL2(PushMessagingMsg_UnregisterResponse,
+ int32 /* request_id */,
+ bool /* response */)
Michael van Ouwerkerk 2014/12/12 13:55:41 success?
mlamouri (slow - plz ping) 2014/12/15 11:29:37 Done.
+
// Messages sent from the child process to the browser.
// TODO(mvanouwerkerk): Delete this when it is no longer used.
@@ -85,3 +89,7 @@ IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_PermissionStatus,
IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetPermissionStatus,
int32 /* request_id */,
int64 /* service_worker_registration_id */)
+
+IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_Unregister,
+ int32 /* request_id */,
+ int64 /* service_worker_registration_id */)

Powered by Google App Engine
This is Rietveld 408576698