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

Unified Diff: chrome/browser/notifications/notification_interactive_uitest.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/notification_interactive_uitest.cc
diff --git a/chrome/browser/notifications/notification_interactive_uitest.cc b/chrome/browser/notifications/notification_interactive_uitest.cc
index 453fb59b79811c1e402537accbf0bade1104f6d5..1d6466b1ab816ff1167af580856889f0a0db8ab0 100644
--- a/chrome/browser/notifications/notification_interactive_uitest.cc
+++ b/chrome/browser/notifications/notification_interactive_uitest.cc
@@ -69,7 +69,7 @@ class ToggledNotificationBlocker : public message_center::NotificationBlocker {
// NotificationBlocker overrides:
bool ShouldShowNotificationAsPopup(
- const message_center::NotifierId& notifier_id) const override {
+ const message_center::Notification& notification) const override {
return notifications_enabled_;
}

Powered by Google App Engine
This is Rietveld 408576698