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

Unified Diff: trunk/src/chrome/browser/extensions/external_install_error.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/extensions/external_install_error.cc
===================================================================
--- trunk/src/chrome/browser/extensions/external_install_error.cc (revision 281226)
+++ trunk/src/chrome/browser/extensions/external_install_error.cc (working copy)
@@ -284,10 +284,9 @@
if (user_initiated && GetExtension()) {
ExtensionSystem::Get(browser_context_)
->extension_service()
- ->UninstallExtension(
- extension_id_,
- ExtensionService::UNINSTALL_REASON_EXTERNAL_INSTALL_CANCELED,
- NULL); // Ignore error.
+ ->UninstallExtension(extension_id_,
+ false, // Not externally uninstalled.
+ NULL); // Ignore error.
// Since the manager listens for the extension to be removed, this will
// remove the error...
} else {

Powered by Google App Engine
This is Rietveld 408576698