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

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

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
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index d5658e3f73f3d444f6729b9eb94f33c81929f65d..53debc3a1c9c0919d1356364c893de07dca2246d 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -339,10 +339,11 @@ class ExtensionService
const GURL& download_url,
extensions::CrxInstaller** out_crx_installer) OVERRIDE;
- // Reloads the specified extension.
+ // Reloads the specified extension, sending the onLaunched() event to it if it
+ // currently has any window showing.
void ReloadExtension(const std::string& extension_id);
- // Restarts the specified extension.
+ // Reloads an extension and sends it the onRestarted() event.
void RestartExtension(const std::string& extension_id);
// Uninstalls the specified extension. Callers should only call this method
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698