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

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: 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 942473968af72e68c9c6b6d52aca4fbf76e1614a..65ca7799137830e528619a2bf7df1198cf69db8f 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.h
+++ b/content/browser/push_messaging/push_messaging_message_filter.h
@@ -82,6 +82,18 @@ class PushMessagingMessageFilter : public BrowserMessageFilter {
void RegisterOnUI(const RegisterData& data,
const std::string& sender_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, bool result);
+
// TODO(mvanouwerkerk): Delete once the Push API flows through platform.
// https://crbug.com/389194
void DoPermissionStatusRequest(const GURL& requesting_origin,

Powered by Google App Engine
This is Rietveld 408576698