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

Unified Diff: components/policy/core/common/cloud/cloud_policy_manager_unittest.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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: components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
index 7bb438a0e45edfd277e68a10319cdaa2bdcf1f54..836b15c41f215cf16c903236542eb02431570630 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
@@ -95,16 +95,16 @@ void TestHarness::InstallStringPolicy(const std::string& policy_name,
void TestHarness::InstallIntegerPolicy(const std::string& policy_name,
int policy_value) {
- store_.policy_map_.Set(
- policy_name, policy_level(), policy_scope(), POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(policy_value), nullptr);
+ store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
+ POLICY_SOURCE_CLOUD,
+ base::MakeUnique<base::Value>(policy_value), nullptr);
}
void TestHarness::InstallBooleanPolicy(const std::string& policy_name,
bool policy_value) {
- store_.policy_map_.Set(
- policy_name, policy_level(), policy_scope(), POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(policy_value), nullptr);
+ store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
+ POLICY_SOURCE_CLOUD,
+ base::MakeUnique<base::Value>(policy_value), nullptr);
}
void TestHarness::InstallStringListPolicy(const std::string& policy_name,

Powered by Google App Engine
This is Rietveld 408576698