| Index: chrome/common/json_pref_store.cc
|
| diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc
|
| index d68307f622261b919ffdd4e907c2e231955d79ac..9b0b01095c7e824d15c35a3bb87c3951eb2e9755 100644
|
| --- a/chrome/common/json_pref_store.cc
|
| +++ b/chrome/common/json_pref_store.cc
|
| @@ -30,6 +30,14 @@ JsonPrefStore::~JsonPrefStore() {
|
| writer_.DoScheduledWrite();
|
| }
|
|
|
| +bool JsonPrefStore::ReadOnly() const {
|
| + return read_only_;
|
| +}
|
| +
|
| +DictionaryValue* JsonPrefStore::prefs() const {
|
| + return prefs_.get();
|
| +}
|
| +
|
| PrefStore::PrefReadError JsonPrefStore::ReadPrefs() {
|
| if (path_.empty()) {
|
| read_only_ = true;
|
|
|