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

Unified Diff: content/common/push_messaging_messages.h

Issue 1944863002: Push API: Fix stored sender ID being out of sync with registration ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ii7swdb
Patch Set: Add TODO Created 4 years, 7 months 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 df88b2f2a552f86ab65fa25563af10b709b9247a..f3710684a3d82fb1d79f524058293f8b8e8a6f47 100644
--- a/content/common/push_messaging_messages.h
+++ b/content/common/push_messaging_messages.h
@@ -86,14 +86,11 @@ IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetPermissionStatusError,
// Messages sent from the child process to the browser.
-IPC_MESSAGE_CONTROL4(PushMessagingHostMsg_SubscribeFromDocument,
+// |render_frame_id| should be ChildProcessHost::kInvalidUniqueID for requests
+// from a Service Worker.
+IPC_MESSAGE_CONTROL4(PushMessagingHostMsg_Subscribe,
int32_t /* render_frame_id */,
int32_t /* request_id */,
- content::PushSubscriptionOptions /* options */,
- int64_t /* service_worker_registration_id */)
-
-IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_SubscribeFromWorker,
- int32_t /* request_id */,
int64_t /* service_worker_registration_id */,
content::PushSubscriptionOptions /* options */)
« no previous file with comments | « content/child/push_messaging/push_provider.cc ('k') | content/renderer/push_messaging/push_messaging_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698