| 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..55fe58f884bcc069459960c0abe80776056956d7 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -339,12 +339,18 @@ 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, sending the onRestarted() event to it if it currently
|
| + // has any window showing.
|
| void RestartExtension(const std::string& extension_id);
|
|
|
| + // Restarts an extension, unconditionally sending the onRestarted() event to
|
| + // it.
|
| + void ReloadExtensionWithRestartEvent(const std::string& extension_id);
|
| +
|
| // Uninstalls the specified extension. Callers should only call this method
|
| // with extensions that exist. |external_uninstall| is a magical parameter
|
| // that is only used to send information to ExtensionPrefs, which external
|
|
|