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

Unified Diff: chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.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/chromeos/settings/stub_cros_settings_provider_unittest.cc
diff --git a/chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc b/chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc
index 1a6b4a6f89ab09db99caed2540cff3659d0a0fb6..829dbe9c9c224bdc8cecdc89c3f5af597ad73983 100644
--- a/chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc
+++ b/chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc
@@ -73,7 +73,7 @@ TEST_F(StubCrosSettingsProviderTest, Defaults) {
TEST_F(StubCrosSettingsProviderTest, Set) {
// Setting value and reading it afterwards returns the same value.
- base::StringValue owner_value("me@owner");
+ base::Value owner_value("me@owner");
provider_->Set(kDeviceOwner, owner_value);
AssertPref(kDeviceOwner, &owner_value);
ExpectObservers(kDeviceOwner, 1);
@@ -81,7 +81,7 @@ TEST_F(StubCrosSettingsProviderTest, Set) {
TEST_F(StubCrosSettingsProviderTest, SetMissing) {
// Setting is missing initially but is added by |Set|.
- base::StringValue pref_value("testing");
+ base::Value pref_value("testing");
ASSERT_FALSE(provider_->Get(kReleaseChannel));
provider_->Set(kReleaseChannel, pref_value);
AssertPref(kReleaseChannel, &pref_value);

Powered by Google App Engine
This is Rietveld 408576698