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

Unified Diff: chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc

Issue 284103002: Replace "external_install" boolean parameter with explicit enumeration in ExtensionUninstall method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address issue exposed by failing unit test. Created 6 years, 5 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/views/extensions/bookmark_app_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc b/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc
index e1a66c8f5f9b45265ab30965103ba6952a5f23d9..8db6baa4c41c35866762c2cbfbb35b91c0e6cf35 100644
--- a/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc
@@ -207,7 +207,9 @@ void BookmarkAppBubbleView::WindowClosing() {
if (remove_app_) {
GetExtensionService(profile_)->UninstallExtension(
- extension_id_, false, NULL);
+ extension_id_,
+ ExtensionService::UNINSTALL_REASON_INSTALL_CANCELED,
+ NULL);
} else {
ApplyEdits();
}

Powered by Google App Engine
This is Rietveld 408576698