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

Unified Diff: content/browser/notifications/notification_message_filter.h

Issue 2151993002: [WebAPKs] Plumb service worker scope to notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into notification_scope Created 4 years, 5 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/browser/notifications/notification_message_filter.h
diff --git a/content/browser/notifications/notification_message_filter.h b/content/browser/notifications/notification_message_filter.h
index 919499b47dc451c27e878b1433ec4de87906701a..9d1592ec298ded01072991900b65c25a1dc77e48 100644
--- a/content/browser/notifications/notification_message_filter.h
+++ b/content/browser/notifications/notification_message_filter.h
@@ -18,6 +18,7 @@
#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h"
class GURL;
+struct PlatformNotificationHostMsg_ShowPersistent_Params;
namespace content {
@@ -59,11 +60,7 @@ class NotificationMessageFilter : public BrowserMessageFilter {
const PlatformNotificationData& notification_data,
const NotificationResources& notification_resources);
void OnShowPersistentNotification(
- int request_id,
- int64_t service_worker_registration_id,
- const GURL& origin,
- const PlatformNotificationData& notification_data,
- const NotificationResources& notification_resources);
+ const PlatformNotificationHostMsg_ShowPersistent_Params& params);
void OnGetNotifications(int request_id,
int64_t service_worker_registration_id,
const GURL& origin,
@@ -77,6 +74,7 @@ class NotificationMessageFilter : public BrowserMessageFilter {
// |success|. Will present the notification to the user when successful.
void DidWritePersistentNotificationData(
int request_id,
+ const GURL& service_worker_scope,
const GURL& origin,
const PlatformNotificationData& notification_data,
const NotificationResources& notification_resources,

Powered by Google App Engine
This is Rietveld 408576698