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

Unified Diff: chrome/browser/ui/app_list/extension_app_model_builder.cc

Issue 1003393002: After uninstall, remove last item in Launcher folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More revisions, remove unneeded function Created 5 years, 9 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 | « chrome/browser/ui/app_list/app_list_syncable_service.cc ('k') | ui/app_list/app_list_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/extension_app_model_builder.cc
diff --git a/chrome/browser/ui/app_list/extension_app_model_builder.cc b/chrome/browser/ui/app_list/extension_app_model_builder.cc
index 2bac8c768b06ffcbd1757b0fbf075344e84effd9..7384fcbc69a9d33978fb0f09c425cc218496e339 100644
--- a/chrome/browser/ui/app_list/extension_app_model_builder.cc
+++ b/chrome/browser/ui/app_list/extension_app_model_builder.cc
@@ -205,10 +205,10 @@ void ExtensionAppModelBuilder::OnExtensionUninstalled(
if (service_) {
DVLOG(2) << service_ << ": OnExtensionUninstalled: "
<< extension->id().substr(0, 8);
- service_->RemoveItem(extension->id());
+ service_->RemoveUninstalledItem(extension->id());
return;
}
- model_->DeleteItem(extension->id());
+ model_->DeleteUninstalledItem(extension->id());
}
void ExtensionAppModelBuilder::OnDisabledExtensionUpdated(
« no previous file with comments | « chrome/browser/ui/app_list/app_list_syncable_service.cc ('k') | ui/app_list/app_list_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698