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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.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/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h b/chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h
index 3be60a7ba97a92a15de958a6574f0461ab454c39..1849b0c1e3aec9278f40f6f85c2d177b50892723 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h
+++ b/chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h
@@ -28,9 +28,9 @@ class MultiUserNotificationBlockerChromeOS
// message_center::NotificationBlocker overrides:
bool ShouldShowNotification(
- const message_center::NotifierId& notifier_id) const override;
+ const message_center::Notification& notification) const override;
bool ShouldShowNotificationAsPopup(
- const message_center::NotifierId& notifier_id) const override;
+ const message_center::Notification& notification) const override;
private:
// Returns true if this blocker is actively working.

Powered by Google App Engine
This is Rietveld 408576698