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

Unified Diff: chrome/browser/notifications/notification.cc

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/notification.cc
diff --git a/chrome/browser/notifications/notification.cc b/chrome/browser/notifications/notification.cc
index 1bd24964b3a866b642b6a3a134b9fb8eeb0c1fe1..5d2be7e662b47d4849935bf87b8a061ad0698b4e 100644
--- a/chrome/browser/notifications/notification.cc
+++ b/chrome/browser/notifications/notification.cc
@@ -32,12 +32,14 @@ Notification::Notification(const std::string& id,
const Notification& notification)
: message_center::Notification(id, notification),
tag_(notification.tag()),
+ service_worker_scope_(notification.service_worker_scope()),
delegate_(notification.delegate()) {
}
Notification::Notification(const Notification& notification)
: message_center::Notification(notification),
tag_(notification.tag()),
+ service_worker_scope_(notification.service_worker_scope()),
delegate_(notification.delegate()) {}
Notification::~Notification() {}

Powered by Google App Engine
This is Rietveld 408576698