| Index: components/prefs/pref_service.h
|
| diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h
|
| index e08e361c40b618da1637b995323745dfc1e0052f..208fc0ce0ddc07c0addeb53128cd29c0fbc5b7d8 100644
|
| --- a/components/prefs/pref_service.h
|
| +++ b/components/prefs/pref_service.h
|
| @@ -39,6 +39,10 @@ namespace base {
|
| class FilePath;
|
| }
|
|
|
| +namespace prefs {
|
| +class ScopedDictionaryPrefUpdate;
|
| +}
|
| +
|
| namespace subtle {
|
| class PrefMemberBase;
|
| class ScopedUserPrefUpdateBase;
|
| @@ -327,6 +331,7 @@ class COMPONENTS_PREFS_EXPORT PrefService : public base::NonThreadSafe {
|
| // Give access to ReportUserPrefChanged() and GetMutableUserPref().
|
| friend class subtle::ScopedUserPrefUpdateBase;
|
| friend class PrefServiceTest_WriteablePrefStoreFlags_Test;
|
| + friend class prefs::ScopedDictionaryPrefUpdate;
|
|
|
| // Registration of pref change observers must be done using the
|
| // PrefChangeRegistrar, which is declared as a friend here to grant it
|
| @@ -352,6 +357,9 @@ class COMPONENTS_PREFS_EXPORT PrefService : public base::NonThreadSafe {
|
| // Sends notification of a changed preference. This needs to be called by
|
| // a ScopedUserPrefUpdate if a DictionaryValue or ListValue is changed.
|
| void ReportUserPrefChanged(const std::string& key);
|
| + void ReportUserPrefChanged(
|
| + const std::string& key,
|
| + std::set<std::vector<std::string>> path_components);
|
|
|
| // Sets the value for this pref path in the user pref store and informs the
|
| // PrefNotifier of the change.
|
|
|