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

Unified Diff: components/policy/core/browser/autofill_policy_handler_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/browser/autofill_policy_handler_unittest.cc
diff --git a/components/policy/core/browser/autofill_policy_handler_unittest.cc b/components/policy/core/browser/autofill_policy_handler_unittest.cc
index 6190f98ba5cec721f5545d5c6d320f1e2e9bf985..f919ddab3c70886f247a38f63944163122dfe860 100644
--- a/components/policy/core/browser/autofill_policy_handler_unittest.cc
+++ b/components/policy/core/browser/autofill_policy_handler_unittest.cc
@@ -28,8 +28,7 @@ TEST_F(AutofillPolicyHandlerTest, Default) {
TEST_F(AutofillPolicyHandlerTest, Enabled) {
PolicyMap policy;
policy.Set(key::kAutoFillEnabled, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(true), nullptr);
+ POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(true), nullptr);
PrefValueMap prefs;
AutofillPolicyHandler handler;
handler.ApplyPolicySettings(policy, &prefs);
@@ -41,8 +40,8 @@ TEST_F(AutofillPolicyHandlerTest, Enabled) {
TEST_F(AutofillPolicyHandlerTest, Disabled) {
PolicyMap policy;
policy.Set(key::kAutoFillEnabled, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(false), nullptr);
+ POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(false),
+ nullptr);
PrefValueMap prefs;
AutofillPolicyHandler handler;
handler.ApplyPolicySettings(policy, &prefs);

Powered by Google App Engine
This is Rietveld 408576698