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

Unified Diff: chrome/browser/supervised_user/supervised_user_service_browsertest.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: chrome/browser/supervised_user/supervised_user_service_browsertest.cc
diff --git a/chrome/browser/supervised_user/supervised_user_service_browsertest.cc b/chrome/browser/supervised_user/supervised_user_service_browsertest.cc
index a1b4e31fde47e0875a64c63718401a6838abae9f..1b7ac01ccd805ebd68d8426d73cc13f27d57d026 100644
--- a/chrome/browser/supervised_user/supervised_user_service_browsertest.cc
+++ b/chrome/browser/supervised_user/supervised_user_service_browsertest.cc
@@ -131,7 +131,7 @@ IN_PROC_BROWSER_TEST_F(SupervisedUserServiceTestSupervised, ProfileName) {
std::string name = "Supervised User Test Name";
settings->SetLocalSetting(
supervised_users::kUserName,
- std::unique_ptr<base::Value>(new base::StringValue(name)));
+ std::unique_ptr<base::Value>(new base::Value(name)));
EXPECT_FALSE(prefs->IsUserModifiablePreference(prefs::kProfileName));
EXPECT_EQ(name, prefs->GetString(prefs::kProfileName));
@@ -145,7 +145,7 @@ IN_PROC_BROWSER_TEST_F(SupervisedUserServiceTestSupervised, ProfileName) {
std::string new_name = "New Supervised User Test Name";
settings->SetLocalSetting(
supervised_users::kUserName,
- std::unique_ptr<base::Value>(new base::StringValue(new_name)));
+ std::unique_ptr<base::Value>(new base::Value(new_name)));
EXPECT_EQ(new_name, prefs->GetString(prefs::kProfileName));
EXPECT_EQ(new_name, base::UTF16ToUTF8(entry->GetName()));

Powered by Google App Engine
This is Rietveld 408576698