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 5dd7aaaa5f84f3d9c47c1c7ef05da42da95c6ded..98b8ea9b2de508212b8464bdd04363154811bbb8 100644 |
--- a/content/browser/push_messaging/push_messaging_message_filter.h |
+++ b/content/browser/push_messaging/push_messaging_message_filter.h |
@@ -59,12 +59,6 @@ class PushMessagingMessageFilter : public BrowserMessageFilter { |
const std::vector<std::string>& push_registration_id, |
ServiceWorkerStatusCode service_worker_status); |
- void DidGetEncryptionKeys(const RegisterData& data, |
- const std::string& push_registration_id, |
- bool success, |
- const std::vector<uint8_t>& p256dh, |
- const std::vector<uint8_t>& auth); |
- |
void DidGetSenderIdFromStorage(const RegisterData& data, |
const std::vector<std::string>& sender_id, |
ServiceWorkerStatusCode service_worker_status); |
@@ -118,13 +112,6 @@ class PushMessagingMessageFilter : public BrowserMessageFilter { |
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); |
- |
// GetPermission methods on IO thread ---------------------------------------- |
void OnGetPermissionStatus(int request_id, |
@@ -145,6 +132,7 @@ class PushMessagingMessageFilter : public BrowserMessageFilter { |
// Inner core of this message filter which lives on the UI thread. |
std::unique_ptr<Core, BrowserThread::DeleteOnUIThread> ui_core_; |
+ base::WeakPtr<Core> ui_core_weak_ptr_; |
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |