Chromium Code Reviews| Index: extensions/browser/extension_registry_observer.h |
| diff --git a/extensions/browser/extension_registry_observer.h b/extensions/browser/extension_registry_observer.h |
| index b6cf8e0907fe34843a5fc5504d4e2d55bb290a09..0ae45c2ad818632cd0b823de3342a580533a56d3 100644 |
| --- a/extensions/browser/extension_registry_observer.h |
| +++ b/extensions/browser/extension_registry_observer.h |
| @@ -37,6 +37,10 @@ class ExtensionRegistryObserver { |
| // Called when |extension| is about to be installed. |is_update| is true if |
| // the installation is the result of it updating, in which case |old_name| is |
| // the name of the extension's previous version. |
| + // If true, |from_ephemeral| indicates that the extension was previously |
| + // installed ephemerally and has been promoted to a regular installed |
| + // extension. |is_update| will be true, although the version has not |
| + // necessarily changed. |
| // The ExtensionRegistry will not be tracking |extension| at the time this |
| // event is fired, but will be immediately afterwards (note: not necessarily |
| // enabled; it might be installed in the disabled or even blacklisted sets, |
| @@ -47,6 +51,7 @@ class ExtensionRegistryObserver { |
| content::BrowserContext* browser_context, |
| const Extension* extension, |
| bool is_update, |
| + bool from_ephemeral, |
|
tmdiep
2014/05/25 23:10:38
This flags will be required by these patches (whic
|
| const std::string& old_name) {} |
| // Called after an extension is uninstalled. The extension no longer exsit in |