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

Unified Diff: content/browser/push_messaging/push_messaging_message_filter.h

Issue 2133673002: Push API: Implement and ship PushSubscription.options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add MODULES_EXPORT Created 4 years, 5 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
« no previous file with comments | « no previous file | content/browser/push_messaging/push_messaging_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/push_messaging/push_messaging_message_filter.h
diff --git a/content/browser/push_messaging/push_messaging_message_filter.h b/content/browser/push_messaging/push_messaging_message_filter.h
index 1e353355cf6a1f0d7ca9059b0b222fbbb97fceaa..faa52c440db71afda0907ea036a428134095ff2e 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.h
+++ b/content/browser/push_messaging/push_messaging_message_filter.h
@@ -121,19 +121,15 @@ class PushMessagingMessageFilter : public BrowserMessageFilter {
void OnGetSubscription(int request_id,
int64_t service_worker_registration_id);
- void DidGetSenderInfo(int request_id,
- int64_t service_worker_registration_id,
- const std::vector<std::string>& sender_info,
- ServiceWorkerStatusCode status);
-
- void DidGetSubscription(int request_id,
- int64_t service_worker_registration_id,
- bool uses_standard_protocol,
- const std::vector<std::string>& push_subscription_id,
- ServiceWorkerStatusCode status);
+ void DidGetSubscription(
+ int request_id,
+ int64_t service_worker_registration_id,
+ const std::vector<std::string>& push_subscription_id_and_sender_info,
+ ServiceWorkerStatusCode service_worker_status);
void DidGetSubscriptionKeys(int request_id,
const GURL& endpoint,
+ const std::string& sender_info,
bool success,
const std::vector<uint8_t>& p256dh,
const std::vector<uint8_t>& auth);
« no previous file with comments | « no previous file | content/browser/push_messaging/push_messaging_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698