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

Unified Diff: ui/arc/notification/arc_notification_manager.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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_manager.cc
diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc
index 40f8ea426098a7f0c3a184cece63feb0a6407cbc..6be7253b88273c65baf70abfa80f6e83f32c3bf1 100644
--- a/ui/arc/notification/arc_notification_manager.cc
+++ b/ui/arc/notification/arc_notification_manager.cc
@@ -62,7 +62,7 @@ void ArcNotificationManager::OnInstanceClosed() {
auto it = items_.begin();
std::unique_ptr<ArcNotificationItem> item = std::move(it->second);
items_.erase(it);
- item->OnClosedFromAndroid(false /* by_user */);
+ item->OnClosedFromAndroid();
}
ready_ = false;
}
@@ -101,7 +101,7 @@ void ArcNotificationManager::OnNotificationRemoved(const mojo::String& key) {
std::unique_ptr<ArcNotificationItem> item = std::move(it->second);
items_.erase(it);
- item->OnClosedFromAndroid(true /* by_user */);
+ item->OnClosedFromAndroid();
}
void ArcNotificationManager::SendNotificationRemovedFromChrome(
« no previous file with comments | « ui/arc/notification/arc_notification_item.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698