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

Unified Diff: ui/arc/notification/arc_notification_item.cc

Issue 2394483004: arc: OnClosedFromAndroid removes notifications as not by_user (Closed)
Patch Set: remove by_user from OnClosedFromAndroid Created 4 years, 2 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/arc/notification/arc_notification_item.h ('k') | ui/arc/notification/arc_notification_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_item.cc
diff --git a/ui/arc/notification/arc_notification_item.cc b/ui/arc/notification/arc_notification_item.cc
index 52d3a5b89a6bfed3cffdf2bd97135f8953a7ca27..98b5543287bf6a682e126b1ffed35811e63feb95 100644
--- a/ui/arc/notification/arc_notification_item.cc
+++ b/ui/arc/notification/arc_notification_item.cc
@@ -248,9 +248,9 @@ void ArcNotificationItem::UpdateWithArcNotificationData(
ArcNotificationItem::~ArcNotificationItem() {}
-void ArcNotificationItem::OnClosedFromAndroid(bool by_user) {
+void ArcNotificationItem::OnClosedFromAndroid() {
being_removed_by_manager_ = true; // Closing is initiated by the manager.
- message_center_->RemoveNotification(notification_id_, by_user);
+ message_center_->RemoveNotification(notification_id_, false /* by_user */);
}
void ArcNotificationItem::Close(bool by_user) {
« no previous file with comments | « ui/arc/notification/arc_notification_item.h ('k') | ui/arc/notification/arc_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698