| Index: extensions/browser/extension_prefs.h
|
| diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
|
| index c6066c3f0aebac4a885e395999b1b9e8aa33509f..9ffcf11c0059a4483408f2dd8d14695b9db756e3 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);
|
|
|
| @@ -442,6 +443,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);
|
| @@ -475,6 +477,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);
|
| @@ -681,6 +686,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);
|
|
|
|
|