| Index: components/cryptauth/cryptauth_enrollment_manager_unittest.cc
|
| diff --git a/components/cryptauth/cryptauth_enrollment_manager_unittest.cc b/components/cryptauth/cryptauth_enrollment_manager_unittest.cc
|
| index 01f9781a9e8359ab73a42a23c973cae9d41071eb..ccb12c18f6f32327dccba55617c77096fc856c4f 100644
|
| --- a/components/cryptauth/cryptauth_enrollment_manager_unittest.cc
|
| +++ b/components/cryptauth/cryptauth_enrollment_manager_unittest.cc
|
| @@ -170,13 +170,12 @@ class CryptAuthEnrollmentManagerTest
|
| CryptAuthEnrollmentManager::RegisterPrefs(pref_service_.registry());
|
| pref_service_.SetUserPref(
|
| prefs::kCryptAuthEnrollmentIsRecoveringFromFailure,
|
| - new base::FundamentalValue(false));
|
| + new base::Value(false));
|
| pref_service_.SetUserPref(
|
| prefs::kCryptAuthEnrollmentLastEnrollmentTimeSeconds,
|
| - new base::FundamentalValue(kLastEnrollmentTimeSeconds));
|
| - pref_service_.SetUserPref(
|
| - prefs::kCryptAuthEnrollmentReason,
|
| - new base::FundamentalValue(INVOCATION_REASON_UNKNOWN));
|
| + new base::Value(kLastEnrollmentTimeSeconds));
|
| + pref_service_.SetUserPref(prefs::kCryptAuthEnrollmentReason,
|
| + new base::Value(INVOCATION_REASON_UNKNOWN));
|
|
|
| std::string public_key_b64, private_key_b64;
|
| base::Base64UrlEncode(public_key_,
|
| @@ -336,7 +335,7 @@ TEST_F(CryptAuthEnrollmentManagerTest, InitWithExistingPrefs) {
|
| TEST_F(CryptAuthEnrollmentManagerTest, InitWithExpiredEnrollment) {
|
| pref_service_.SetUserPref(
|
| prefs::kCryptAuthEnrollmentLastEnrollmentTimeSeconds,
|
| - new base::FundamentalValue(kLastExpiredEnrollmentTimeSeconds));
|
| + new base::Value(kLastExpiredEnrollmentTimeSeconds));
|
|
|
| EXPECT_CALL(*sync_scheduler(),
|
| Start(clock_->Now() - base::Time::FromDoubleT(
|
|
|