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

Unified Diff: chrome/browser/services/gcm/push_messaging_service_impl.h

Issue 914693002: Push API: Fix unsubscribing from GCM on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment nits I missed earlier Created 5 years, 10 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: chrome/browser/services/gcm/push_messaging_service_impl.h
diff --git a/chrome/browser/services/gcm/push_messaging_service_impl.h b/chrome/browser/services/gcm/push_messaging_service_impl.h
index b9fb57af852d23812ed0e1941bfae58877ce47ce..9b2326274e37487860aa791255a983976b74f1d8 100644
--- a/chrome/browser/services/gcm/push_messaging_service_impl.h
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.h
@@ -67,6 +67,7 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
void Unregister(
const GURL& requesting_origin,
int64 service_worker_registration_id,
+ const std::string& sender_id,
const content::PushMessagingService::UnregisterCallback&) override;
blink::WebPushPermissionStatus GetPermissionStatus(
const GURL& requesting_origin,
@@ -113,6 +114,7 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
bool allow);
void Unregister(const PushMessagingApplicationId& application_id,
+ const std::string& sender_id,
const content::PushMessagingService::UnregisterCallback&);
void DidUnregister(const content::PushMessagingService::UnregisterCallback&,

Powered by Google App Engine
This is Rietveld 408576698