| Index: base/prefs/testing_pref_store.cc
|
| diff --git a/base/prefs/testing_pref_store.cc b/base/prefs/testing_pref_store.cc
|
| index f20824e173320139bbd22356785cdaa7ce3952d9..35c9763eec5b15c3a27ef375750dd45adbd6a3e3 100644
|
| --- a/base/prefs/testing_pref_store.cc
|
| +++ b/base/prefs/testing_pref_store.cc
|
| @@ -42,7 +42,9 @@ bool TestingPrefStore::IsInitializationComplete() const {
|
| return init_complete_;
|
| }
|
|
|
| -void TestingPrefStore::SetValue(const std::string& key, base::Value* value) {
|
| +void TestingPrefStore::SetValue(const std::string& key,
|
| + base::Value* value,
|
| + uint32 flags) {
|
| if (prefs_.SetValue(key, value)) {
|
| committed_ = false;
|
| NotifyPrefValueChanged(key);
|
| @@ -50,12 +52,13 @@ void TestingPrefStore::SetValue(const std::string& key, base::Value* value) {
|
| }
|
|
|
| void TestingPrefStore::SetValueSilently(const std::string& key,
|
| - base::Value* value) {
|
| + base::Value* value,
|
| + uint32 flags) {
|
| if (prefs_.SetValue(key, value))
|
| committed_ = false;
|
| }
|
|
|
| -void TestingPrefStore::RemoveValue(const std::string& key) {
|
| +void TestingPrefStore::RemoveValue(const std::string& key, uint32 flags) {
|
| if (prefs_.RemoveValue(key)) {
|
| committed_ = false;
|
| NotifyPrefValueChanged(key);
|
| @@ -103,21 +106,22 @@ void TestingPrefStore::NotifyInitializationCompleted() {
|
| Observer, observers_, OnInitializationCompleted(read_success_));
|
| }
|
|
|
| -void TestingPrefStore::ReportValueChanged(const std::string& key) {
|
| +void TestingPrefStore::ReportValueChanged(const std::string& key,
|
| + uint32 flags) {
|
| FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
|
| }
|
|
|
| void TestingPrefStore::SetString(const std::string& key,
|
| const std::string& value) {
|
| - SetValue(key, new base::StringValue(value));
|
| + SetValue(key, new base::StringValue(value), DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
| void TestingPrefStore::SetInteger(const std::string& key, int value) {
|
| - SetValue(key, new base::FundamentalValue(value));
|
| + SetValue(key, new base::FundamentalValue(value), DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
| void TestingPrefStore::SetBoolean(const std::string& key, bool value) {
|
| - SetValue(key, new base::FundamentalValue(value));
|
| + SetValue(key, new base::FundamentalValue(value), DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
| bool TestingPrefStore::GetString(const std::string& key,
|
|
|