Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: base/prefs/pref_member_unittest.cc

Issue 16797003: Make base use the proper Value namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwarnings fixed Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/prefs/pref_member_unittest.cc
diff --git a/base/prefs/pref_member_unittest.cc b/base/prefs/pref_member_unittest.cc
index 5d49b4c59061000c2969a465c218043eb1db41f2..c27678027b08f6f592c3e9c11c8de949108195d7 100644
--- a/base/prefs/pref_member_unittest.cc
+++ b/base/prefs/pref_member_unittest.cc
@@ -25,7 +25,7 @@ void RegisterTestPrefs(PrefRegistrySimple* registry) {
registry->RegisterIntegerPref(kIntPref, 0);
registry->RegisterDoublePref(kDoublePref, 0.0);
registry->RegisterStringPref(kStringPref, "default");
- registry->RegisterListPref(kStringListPref, new ListValue());
+ registry->RegisterListPref(kStringListPref, new base::ListValue());
}
class GetPrefValueHelper
@@ -189,7 +189,7 @@ TEST(PrefMemberTest, BasicGetAndSet) {
EXPECT_EQ("bar", *string);
// Test string list
- ListValue expected_list;
+ base::ListValue expected_list;
std::vector<std::string> expected_vector;
StringListPrefMember string_list;
string_list.Init(kStringListPref, &prefs);
@@ -233,7 +233,7 @@ TEST(PrefMemberTest, InvalidList) {
expected_vector.push_back("foo");
// Try to add a valid list first.
- ListValue list;
+ base::ListValue list;
list.AppendString("foo");
std::vector<std::string> vector;
EXPECT_TRUE(subtle::PrefMemberVectorStringUpdate(list, &vector));

Powered by Google App Engine
This is Rietveld 408576698