Index: chrome/browser/policy/device_policy_cache_unittest.cc |
diff --git a/chrome/browser/policy/device_policy_cache_unittest.cc b/chrome/browser/policy/device_policy_cache_unittest.cc |
index cd9d0623ae4317bd3157327875b8f2a8153f6a0a..930e5bca2e2a03259f9df23290d19252f9ce9982 100644 |
--- a/chrome/browser/policy/device_policy_cache_unittest.cc |
+++ b/chrome/browser/policy/device_policy_cache_unittest.cc |
@@ -119,7 +119,7 @@ TEST_F(DevicePolicyCacheTest, Startup) { |
policy)); |
cache_->Load(); |
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_); |
- base::FundamentalValue expected(120); |
+ base::NumberValue expected(120); |
EXPECT_TRUE(Value::Equals(&expected, |
GetMandatoryPolicy( |
kPolicyDevicePolicyRefreshRate))); |
@@ -138,7 +138,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicy) { |
policy)); |
cache_->Load(); |
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_); |
- base::FundamentalValue expected(120); |
+ base::NumberValue expected(120); |
EXPECT_TRUE(Value::Equals(&expected, |
GetMandatoryPolicy( |
kPolicyDevicePolicyRefreshRate))); |
@@ -154,7 +154,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicy) { |
EXPECT_CALL(signed_settings_helper_, CancelCallback(_)); |
cache_->SetPolicy(new_policy); |
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_); |
- base::FundamentalValue updated_expected(300); |
+ base::NumberValue updated_expected(300); |
EXPECT_TRUE(Value::Equals(&updated_expected, |
GetMandatoryPolicy( |
kPolicyDevicePolicyRefreshRate))); |
@@ -181,7 +181,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicyWrongUser) { |
cache_->SetPolicy(new_policy); |
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_); |
- base::FundamentalValue expected(120); |
+ base::NumberValue expected(120); |
EXPECT_TRUE(Value::Equals(&expected, |
GetMandatoryPolicy( |
kPolicyDevicePolicyRefreshRate))); |
@@ -206,7 +206,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicyNonEnterpriseDevice) { |
cache_->SetPolicy(new_policy); |
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_); |
- base::FundamentalValue expected(120); |
+ base::NumberValue expected(120); |
EXPECT_TRUE(Value::Equals(&expected, |
GetMandatoryPolicy( |
kPolicyDevicePolicyRefreshRate))); |