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

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

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.h
diff --git a/chrome/browser/notifications/screen_lock_notification_blocker.h b/chrome/browser/notifications/screen_lock_notification_blocker.h
index 88888780aa11db1757ebe8c5eb6d1f888322cb22..7644955cd12920eee61e4b4094e4b0ca774f56f9 100644
--- a/chrome/browser/notifications/screen_lock_notification_blocker.h
+++ b/chrome/browser/notifications/screen_lock_notification_blocker.h
@@ -23,7 +23,7 @@ class ScreenLockNotificationBlocker
// message_center::NotificationBlocker overrides:
void CheckState() override;
bool ShouldShowNotificationAsPopup(
- const message_center::NotifierId& notifier_id) const override;
+ const message_center::Notification& notification) const override;
private:
bool is_locked_;

Powered by Google App Engine
This is Rietveld 408576698