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

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: Created 8 years 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/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 91caf04b5ec25ac74c45d5556cd873d131bc86fd..9bce72bc8c33a47d0a403a53e8f8bfa76db46d3f 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -716,6 +716,11 @@ void ExtensionService::RestartExtension(const std::string& extension_id) {
ReloadExtensionWithEvents(extension_id, events);
}
+void ExtensionService::ReloadExtensionWithRestartEvent(
+ const std::string& extension_id) {
+ ReloadExtensionWithEvents(extension_id, EVENT_RESTARTED);
+}
+
void ExtensionService::ReloadExtensionWithEvents(
const std::string& extension_id,
int events) {

Powered by Google App Engine
This is Rietveld 408576698