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..3b4b45236e60035f350fa3f7913bff5acd9e20a5 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 settings and uploads it to the Sync server if they |
Marc Treib
2016/06/08 12:08:25
grammar: singular please. Also the "if they..." pa
mamir
2016/06/09 12:14:10
Done.
|
+ // change locally. 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_; |