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

Unified Diff: chrome/browser/ui/extensions/extension_enable_flow.cc

Issue 342003005: Show alert failure for reloading unpacked extensions with bad manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed be_noisy, support interaction with multiple failures 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: chrome/browser/ui/extensions/extension_enable_flow.cc
diff --git a/chrome/browser/ui/extensions/extension_enable_flow.cc b/chrome/browser/ui/extensions/extension_enable_flow.cc
index be3454a04f4c0f9beab76a102f55bb32bcb817ca..08c06be1619349b1ab30061426657955c74614b6 100644
--- a/chrome/browser/ui/extensions/extension_enable_flow.cc
+++ b/chrome/browser/ui/extensions/extension_enable_flow.cc
@@ -64,7 +64,7 @@ void ExtensionEnableFlow::Run() {
if (!extension)
return;
// If the app was terminated, reload it first.
- service->ReloadExtension(extension_id_);
+ service->ReloadExtension(extension_id_, true);
// ReloadExtension reallocates the Extension object.
extension = service->GetExtensionById(extension_id_, true);

Powered by Google App Engine
This is Rietveld 408576698