Index: chrome/common/json_pref_store.cc |
diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc |
index bbf33d738afbe771cf3e02ca8653f35066010347..f5ff7282e5da3b8431aea12115cfcb60b1b62cab 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; |