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

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

Issue 793403002: Implement WebPushProvider.unregister() in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mvan_2
Patch Set: jochen review comments Created 6 years 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/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 561fadc0ab6e2842a1535b2a062f7f9fbfe7d3dd..77185ce4092acbe18d6df392269ef2770e6f51b3 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.h
+++ b/content/browser/push_messaging/push_messaging_message_filter.h
@@ -106,6 +106,21 @@ class PushMessagingMessageFilter : public BrowserMessageFilter {
PushRegistrationStatus status,
const std::string& push_registration_id);
+ // Unregister methods --------------------------------------------------------
+
+ void OnUnregister(int request_id,
+ int64 service_worker_registration_id);
+
+ void UnregisterOnUI(int request_id,
+ int64 service_worker_registration_id,
+ const GURL& requesting_origin);
+
+ void DidUnregister(int request_id,
+ PushUnregistrationStatus unregistration_status);
+
+
+ // GetRegistration methods ---------------------------------------------------
+
void OnGetRegistration(int request_id,
int64 service_worker_registration_id);
« no previous file with comments | « chrome/test/data/push_messaging/push_test.js ('k') | content/browser/push_messaging/push_messaging_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698