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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 11638053: Make crash bubble send onRestarted() to apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 | « chrome/browser/extensions/extension_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 47b7a9c3b7544e464c67af1b56d122fd2da4d5ac..d74bc3962f675c9ab3cef76b524a3daa7f737b9a 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -709,8 +709,7 @@ void ExtensionService::ReloadExtension(const std::string& extension_id) {
}
void ExtensionService::RestartExtension(const std::string& extension_id) {
- int events = HasShellWindows(extension_id) ? EVENT_RESTARTED : EVENT_NONE;
- ReloadExtensionWithEvents(extension_id, events);
+ ReloadExtensionWithEvents(extension_id, EVENT_RESTARTED);
}
void ExtensionService::ReloadExtensionWithEvents(
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698