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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_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/policy/user_cloud_policy_store_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
index 637bc2be656675fa68200bc082ae74cfbff5e7fa..e031a8dda70eb2cd4cbaf5f83813d10b7ba35299 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
@@ -122,7 +122,7 @@ class UserCloudPolicyStoreChromeOSTest : public testing::Test {
const PolicyMap::Entry* entry =
store_->policy_map().Get(key::kHomepageLocation);
ASSERT_TRUE(entry);
- EXPECT_TRUE(base::StringValue(expected_value).Equals(entry->value.get()));
+ EXPECT_TRUE(base::Value(expected_value).Equals(entry->value.get()));
}
void StoreUserPolicyKey(const std::string& public_key) {
@@ -158,7 +158,7 @@ class UserCloudPolicyStoreChromeOSTest : public testing::Test {
if (previous_value) {
previous_policy.Set(key::kHomepageLocation, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::StringValue>(previous_value),
+ base::MakeUnique<base::Value>(previous_value),
nullptr);
}
EXPECT_TRUE(previous_policy.Equals(store_->policy_map()));

Powered by Google App Engine
This is Rietveld 408576698