| Index: chrome/browser/extensions/extension_prefs.h
|
| diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
|
| index ddebe41739b122fe5c3cbc3818300f44de2ba417..c3791f9d74b4b2bd6e500f6fed00e54a42b4f103 100644
|
| --- a/chrome/browser/extensions/extension_prefs.h
|
| +++ b/chrome/browser/extensions/extension_prefs.h
|
| @@ -24,6 +24,10 @@ class ExtensionSorting;
|
| class PrefService;
|
| class URLPatternSet;
|
|
|
| +namespace extensions {
|
| +struct AlarmPref;
|
| +}
|
| +
|
| // Class for managing global and per-extension preferences.
|
| //
|
| // This class distinguishes the following kinds of preferences:
|
| @@ -260,6 +264,13 @@ class ExtensionPrefs : public ExtensionContentSettingsStore::Observer,
|
| void SetRegisteredEvents(const std::string& extension_id,
|
| const std::set<std::string>& events);
|
|
|
| + // Controls a list of alarms for this extension, including the next time they
|
| + // should run.
|
| + std::vector<extensions::AlarmPref> GetRegisteredAlarms(
|
| + const std::string& extension_id);
|
| + void SetRegisteredAlarms(const std::string& extension_id,
|
| + const std::vector<extensions::AlarmPref>& alarms);
|
| +
|
| // Returns true if the user enabled this extension to be loaded in incognito
|
| // mode.
|
| bool IsIncognitoEnabled(const std::string& extension_id);
|
|
|