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

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

Issue 169303002: Fix launching crashed apps from the command line while Chrome is running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/application_launch.cc
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index a9400f669724f84321d43490d075830dda0db034..51be3419cff2dfb5171ff56c9a1b5c953c7059d4 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -482,7 +482,8 @@ void OpenApplicationWithReenablePrompt(const AppLaunchParams& params) {
ExtensionService* service =
extensions::ExtensionSystem::Get(profile)->extension_service();
- if (!service->IsExtensionEnabled(extension->id())) {
+ if (!service->IsExtensionEnabled(extension->id()) ||
+ service->GetTerminatedExtension(extension->id())) {
(new EnableViaAppListFlow(
service, profile, params.desktop_type, extension->id(),
base::Bind(base::IgnoreResult(OpenEnabledApplication), params)))->Run();
« no previous file with comments | « no previous file | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698