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

Unified Diff: trunk/src/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc

Issue 369863002: Revert 281130 "Replace "external_install" boolean parameter with..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc (revision 281226)
+++ trunk/src/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc (working copy)
@@ -114,8 +114,7 @@
void AppInfoFooterPanel::ExtensionUninstallAccepted() {
ExtensionService* service =
extensions::ExtensionSystem::Get(profile_)->extension_service();
- service->UninstallExtension(
- app_->id(), ExtensionService::UNINSTALL_REASON_USER_INITIATED, NULL);
+ service->UninstallExtension(app_->id(), false, NULL);
// Close the App Info dialog as well (which will free the dialog too).
GetWidget()->Close();

Powered by Google App Engine
This is Rietveld 408576698