diff options
Diffstat (limited to 'chrome/common/json_pref_store.cc')
-rw-r--r-- | chrome/common/json_pref_store.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc index bbf33d7..f5ff7282 100644 --- a/chrome/common/json_pref_store.cc +++ b/chrome/common/json_pref_store.cc @@ -69,6 +69,10 @@ void JsonPrefStore::RemoveValue(const std::string& key) { } } +bool JsonPrefStore::ReadOnly() const { + return read_only_; +} + PersistentPrefStore::PrefReadError JsonPrefStore::ReadPrefs() { if (path_.empty()) { read_only_ = true; |