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

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

Issue 2198363002: Pass Notification into NotificationBlocker ShouldShow* methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ash build errors Created 4 years, 4 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/screen_lock_notification_blocker.cc
diff --git a/chrome/browser/notifications/screen_lock_notification_blocker.cc b/chrome/browser/notifications/screen_lock_notification_blocker.cc
index a41b2a8de2336ddd52870b49eef60f7d8f114fec..7e9482cc7d945ba9c9a301f5e22e532615223ab3 100644
--- a/chrome/browser/notifications/screen_lock_notification_blocker.cc
+++ b/chrome/browser/notifications/screen_lock_notification_blocker.cc
@@ -35,6 +35,6 @@ void ScreenLockNotificationBlocker::CheckState() {
}
bool ScreenLockNotificationBlocker::ShouldShowNotificationAsPopup(
- const message_center::NotifierId& notifier_id) const {
+ const message_center::Notification& notification) const {
return !is_locked_;
}

Powered by Google App Engine
This is Rietveld 408576698