diff options
Diffstat (limited to 'chrome/browser/sync/test/integration/preferences_helper.cc')
-rw-r--r-- | chrome/browser/sync/test/integration/preferences_helper.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/sync/test/integration/preferences_helper.cc b/chrome/browser/sync/test/integration/preferences_helper.cc index b456eab..283a733 100644 --- a/chrome/browser/sync/test/integration/preferences_helper.cc +++ b/chrome/browser/sync/test/integration/preferences_helper.cc @@ -75,11 +75,11 @@ void ChangeFilePathPref(int index, void ChangeListPref(int index, const char* pref_name, - const ListValue& new_value) { + const base::ListValue& new_value) { { ListPrefUpdate update(GetPrefs(index), pref_name); - ListValue* list = update.Get(); - for (ListValue::const_iterator it = new_value.begin(); + base::ListValue* list = update.Get(); + for (base::ListValue::const_iterator it = new_value.begin(); it != new_value.end(); ++it) { list->Append((*it)->DeepCopy()); @@ -88,8 +88,8 @@ void ChangeListPref(int index, if (test()->use_verifier()) { ListPrefUpdate update_verifier(GetVerifierPrefs(), pref_name); - ListValue* list_verifier = update_verifier.Get(); - for (ListValue::const_iterator it = new_value.begin(); + base::ListValue* list_verifier = update_verifier.Get(); + for (base::ListValue::const_iterator it = new_value.begin(); it != new_value.end(); ++it) { list_verifier->Append((*it)->DeepCopy()); @@ -200,7 +200,7 @@ bool FilePathPrefMatches(const char* pref_name) { } bool ListPrefMatches(const char* pref_name) { - const ListValue* reference_value; + const base::ListValue* reference_value; if (test()->use_verifier()) { reference_value = GetVerifierPrefs()->GetList(pref_name); } else { |