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

Unified Diff: ui/message_center/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
« no previous file with comments | « ui/message_center/notification_blocker.h ('k') | ui/message_center/notification_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification_blocker.cc
diff --git a/ui/message_center/notification_blocker.cc b/ui/message_center/notification_blocker.cc
index 0b7d7203c53a1f8eb519517e86f3c794ebfa128c..9ad1656b64e224e1959fc4f63eb45f9aae5e9c56 100644
--- a/ui/message_center/notification_blocker.cc
+++ b/ui/message_center/notification_blocker.cc
@@ -29,7 +29,7 @@ void NotificationBlocker::RemoveObserver(
}
bool NotificationBlocker::ShouldShowNotification(
- const NotifierId& notifier_id) const {
+ const Notification& notification) const {
return true;
}
« no previous file with comments | « ui/message_center/notification_blocker.h ('k') | ui/message_center/notification_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698