Index: chrome/browser/extensions/extension_prefs.h |
=================================================================== |
--- chrome/browser/extensions/extension_prefs.h (revision 107300) |
+++ chrome/browser/extensions/extension_prefs.h (working copy) |
@@ -171,6 +171,15 @@ |
// reset it. Don't call it unless you mean it! |
bool SetAlertSystemFirstRun(); |
+ // Whether the notifications initial setup is done for the given extension. |
asargent_no_longer_on_chrome
2011/10/27 16:52:21
change "given extension" to "given app" in the com
Munjal (Google)
2011/10/27 18:35:05
Done.
|
+ bool IsNotificationsInitialSetupDone(const std::string& extension_id) const; |
+ void SetNotificationsInitialSetupDone(const std::string& extension_id, |
asargent_no_longer_on_chrome
2011/10/27 16:52:21
Suggest changing names to:
IsAppNotificationSetup
Munjal (Google)
2011/10/27 18:35:05
Done.
|
+ bool value); |
+ |
+ // Whether notifications are disabled for the given extension. |
asargent_no_longer_on_chrome
2011/10/27 16:52:21
change "given extension" to "given app" in the com
Munjal (Google)
2011/10/27 18:35:05
Done.
|
+ bool IsNotificationsDisabled(const std::string& extension_id) const; |
+ void SetNotificationsDisabled(const std::string& extension_id, bool value); |
asargent_no_longer_on_chrome
2011/10/27 16:52:21
Suggest changing names to:
IsAppNotificationDisab
Munjal (Google)
2011/10/27 18:35:05
Done.
|
+ |
// Is the extension with |extension_id| allowed by policy (checking both |
// whitelist and blacklist). |
bool IsExtensionAllowedByPolicy(const std::string& extension_id); |
@@ -429,7 +438,7 @@ |
// Reads a boolean pref |pref_key| from extension with id |extension_id|. |
bool ReadExtensionPrefBoolean(const std::string& extension_id, |
- const std::string& pref_key); |
+ const std::string& pref_key) const; |
// Reads an integer pref from |ext| with key |pref_key|. |
// Return false if the value does not exist. |