summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/extension_registry.h')
-rw-r--r--extensions/browser/extension_registry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h
index 0087645..646863c 100644
--- a/extensions/browser/extension_registry.h
+++ b/extensions/browser/extension_registry.h
@@ -78,8 +78,12 @@ class ExtensionRegistry : public KeyedService {
// any installed extension with |extension|'s ID. If this is an update then
// |is_update| is true and must be an installed extension with |extension|'s
// ID, and |old_name| must be non-empty.
+ // If true, |from_ephemeral| indicates that the extension was previously
+ // installed ephemerally and has been promoted to a regular installed
+ // extension. |is_update| should also be true.
void TriggerOnWillBeInstalled(const Extension* extension,
bool is_update,
+ bool from_ephemeral,
const std::string& old_name);
// Invokes the observer method OnExtensionUninstalled(). The extension must