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

Unified Diff: chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc

Issue 2819413003: Refactor extension app icon. (Closed)
Patch Set: nit Created 3 years, 7 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/ui/app_list/arc/arc_package_syncable_service.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc b/chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc
index 68573ab20de7fd890d3228b0b8e15f1daca6d4e0..49d979f9efe772812d3f9f270b261a7a8d575645 100644
--- a/chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc
+++ b/chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc
@@ -238,7 +238,11 @@ bool ArcPackageSyncableService::SyncStarted() {
// ArcPackageSyncableService private
void ArcPackageSyncableService::OnPackageRemoved(
- const std::string& package_name) {
+ const std::string& package_name,
+ bool uninstalled) {
+ if (!uninstalled)
+ return;
+
SyncItemMap::iterator delete_iter =
pending_uninstall_items_.find(package_name);
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_package_syncable_service.h ('k') | chrome/browser/ui/app_list/extension_app_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698