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

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

Issue 12091085: Send onRestarted() to crashed apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | 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 8d72c5909a741dcaec4e6066ed92ef9f294f7c79..2af3f9b8a60b3f731e53f1e531b4b6b1b77139e4 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -732,8 +732,6 @@ void ExtensionService::ReloadExtensionWithEvents(
orphaned_dev_tools_[extension_id] = devtools_cookie;
}
- on_load_events_[extension_id] = events;
-
path = current_extension->path();
DisableExtension(extension_id, Extension::DISABLE_RELOAD);
disabled_extension_paths_[extension_id] = path;
@@ -741,6 +739,8 @@ void ExtensionService::ReloadExtensionWithEvents(
path = unloaded_extension_paths_[extension_id];
}
+ on_load_events_[extension_id] = events;
+
if (delayed_updates_for_idle_.Contains(extension_id)) {
FinishDelayedInstallation(extension_id);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698