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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.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: chrome/browser/notifications/platform_notification_service_impl.h
diff --git a/chrome/browser/notifications/platform_notification_service_impl.h b/chrome/browser/notifications/platform_notification_service_impl.h
index 88f0b080460467004935f412c48ff3de112c1e94..95b4d712e4674686290e5f39a5d8383e38544e2c 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.h
+++ b/chrome/browser/notifications/platform_notification_service_impl.h
@@ -84,6 +84,7 @@ class PlatformNotificationServiceImpl
void DisplayPersistentNotification(
content::BrowserContext* browser_context,
int64_t persistent_notification_id,
+ const GURL& service_worker_scope,
const GURL& origin,
const content::PlatformNotificationData& notification_data,
const content::NotificationResources& notification_resources) override;
@@ -119,6 +120,7 @@ class PlatformNotificationServiceImpl
// through requires changing a whole lot of Notification constructor calls.
Notification CreateNotificationFromData(
Profile* profile,
+ const GURL& service_worker_scope,
const GURL& origin,
const content::PlatformNotificationData& notification_data,
const content::NotificationResources& notification_resources,

Powered by Google App Engine
This is Rietveld 408576698