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

Unified Diff: content/public/browser/push_messaging_service.h

Issue 1851423003: Make Web Push use InstanceID tokens instead of GCM registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid4default
Patch Set: Fix GN/GYP Created 4 years, 8 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/public/browser/push_messaging_service.h
diff --git a/content/public/browser/push_messaging_service.h b/content/public/browser/push_messaging_service.h
index 993e2816da86d1240382717912c1b2c1c5849bc4..e6dda4b2346e4cdee6f5c1e21c6734f4629f914c 100644
--- a/content/public/browser/push_messaging_service.h
+++ b/content/public/browser/push_messaging_service.h
@@ -79,7 +79,6 @@ class CONTENT_EXPORT PushMessagingService {
// sent to the push service, with automatic retry.
virtual void Unsubscribe(const GURL& requesting_origin,
int64_t service_worker_registration_id,
- const std::string& sender_id,
const UnregisterCallback& callback) = 0;
// Checks the permission status for the |origin|. The |user_visible| boolean
@@ -110,11 +109,6 @@ class CONTENT_EXPORT PushMessagingService {
const ResultCallback& callback);
protected:
- static void GetSenderId(BrowserContext* browser_context,
- const GURL& origin,
- int64_t service_worker_registration_id,
- const StringCallback& callback);
-
// Clear the push subscription id stored in the service worker with the given
// |service_worker_registration_id| for the given |origin|.
static void ClearPushSubscriptionID(BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698