Index: chrome/browser/supervised_user/supervised_user_settings_service.h |
diff --git a/chrome/browser/supervised_user/supervised_user_settings_service.h b/chrome/browser/supervised_user/supervised_user_settings_service.h |
index da91256dee9c2b23b0ec5aa37d21b4d8847a7fed..fc0a06bc35ba80dd1634e89687259603d130079f 100644 |
--- a/chrome/browser/supervised_user/supervised_user_settings_service.h |
+++ b/chrome/browser/supervised_user/supervised_user_settings_service.h |
@@ -112,6 +112,12 @@ class SupervisedUserSettingsService : public KeyedService, |
// An example of an uploaded item is an access request to a blocked URL. |
void UploadItem(const std::string& key, std::unique_ptr<base::Value> value); |
+ // Updates supervised user setting and uploads it to the Sync server. |
+ // An example is when an extension updates without permission |
+ // increase, the approved version information should be updated accordingly. |
+ void UpdateSetting(const std::string& key, |
+ std::unique_ptr<base::Value> value); |
+ |
// Sets the setting with the given |key| to a copy of the given |value|. |
void SetLocalSetting(const std::string& key, |
std::unique_ptr<base::Value> value); |
@@ -159,6 +165,9 @@ class SupervisedUserSettingsService : public KeyedService, |
// subclass whenever the settings change. |
void InformSubscribers(); |
+ void PushItemToSync(const std::string& key, |
+ std::unique_ptr<base::Value> value); |
+ |
// Used for persisting the settings. Unlike other PrefStores, this one is not |
// directly hooked up to the PrefService. |
scoped_refptr<PersistentPrefStore> store_; |