| Index: chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| index 9dd44d63232d59b82f0ad308d705dc9c1af0b1f5..bd490ad499b374c17657db03df2054f2cf6a7bf9 100644
|
| --- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| @@ -479,9 +479,13 @@ void AppListSyncableService::UpdateSyncItem(AppListItem* app_item) {
|
| SendSyncChange(sync_item, SyncChange::ACTION_UPDATE);
|
| }
|
|
|
| -void AppListSyncableService::RemoveItem(const std::string& id) {
|
| +void AppListSyncableService::RemoveItem(const std::string& id,
|
| + bool uninstalled) {
|
| RemoveSyncItem(id);
|
| - model_->DeleteItem(id);
|
| + if (uninstalled)
|
| + model_->DeleteUninstalledItem(id);
|
| + else
|
| + model_->DeleteItem(id);
|
| PruneEmptySyncFolders();
|
| }
|
|
|
|
|