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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.cc

Issue 1645843003: Implement Non-Closable Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary property. Created 4 years, 10 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/message_center_notification_manager.cc
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc
index 06ed30bca027efc0fe4a1f71e103415b94806ffa..da307bb49eb133bcc590b8e59f5dd7e72eb4f4d5 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -278,7 +278,8 @@ bool MessageCenterNotificationManager::CancelAllByProfile(
}
void MessageCenterNotificationManager::CancelAll() {
- message_center_->RemoveAllNotifications(/* by_user */ false);
+ message_center_->RemoveAllNotifications(
+ false /* by_user */, message_center::MessageCenter::RemoveType::ALL);
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698