| Index: extensions/browser/extension_prefs.h
|
| diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
|
| index d2cc9ebc4277849faf60e50a7cc38c3cd22e2e91..0c36d6d67741e89a1516afb7651d2df59f58b070 100644
|
| --- a/extensions/browser/extension_prefs.h
|
| +++ b/extensions/browser/extension_prefs.h
|
| @@ -190,6 +190,7 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
|
| void OnExtensionInstalled(const Extension* extension,
|
| Extension::State initial_state,
|
| bool blacklisted_for_malware,
|
| + bool is_ephemeral,
|
| const syncer::StringOrdinal& page_ordinal,
|
| const std::string& install_parameter);
|
|
|
| @@ -440,6 +441,7 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
|
| void SetDelayedInstallInfo(const Extension* extension,
|
| Extension::State initial_state,
|
| bool blacklisted_for_malware,
|
| + bool is_ephemeral,
|
| DelayReason delay_reason,
|
| const syncer::StringOrdinal& page_ordinal,
|
| const std::string& install_parameter);
|
| @@ -473,6 +475,9 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
|
| // Permanently remove the preferences for an evicted ephemeral app.
|
| void RemoveEvictedEphemeralApp(const std::string& extension_id);
|
|
|
| + // Returns true if the extension is an ephemeral app.
|
| + bool IsEphemeralApp(const std::string& extension_id) const;
|
| +
|
| // Returns true if the user repositioned the app on the app launcher via drag
|
| // and drop.
|
| bool WasAppDraggedByUser(const std::string& extension_id);
|
| @@ -679,6 +684,7 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
|
| const base::Time install_time,
|
| Extension::State initial_state,
|
| bool blacklisted_for_malware,
|
| + bool is_ephemeral,
|
| const std::string& install_parameter,
|
| base::DictionaryValue* extension_dict);
|
|
|
|
|