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

Unified Diff: ash/first_run/desktop_cleaner.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 | « no previous file | chrome/browser/notifications/fullscreen_notification_blocker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/first_run/desktop_cleaner.cc
diff --git a/ash/first_run/desktop_cleaner.cc b/ash/first_run/desktop_cleaner.cc
index 42b92a3ef7a9758f43d5210c0d081b7e90d0aa0b..9c650bc2ca69fcbbe9aa8368ffaa0b3420e36ebe 100644
--- a/ash/first_run/desktop_cleaner.cc
+++ b/ash/first_run/desktop_cleaner.cc
@@ -82,7 +82,7 @@ class NotificationBlocker : public message_center::NotificationBlocker {
private:
// Overriden from message_center::NotificationBlocker.
bool ShouldShowNotificationAsPopup(
- const message_center::NotifierId& notifier_id) const override {
+ const message_center::Notification& notification) const override {
return false;
}
« no previous file with comments | « no previous file | chrome/browser/notifications/fullscreen_notification_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698