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

Unified Diff: components/cryptauth/cryptauth_enrollment_manager_unittest.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/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 8c6a46644270266ce806c9a1637d6e9a475a105f..553ff63852d155a4e1944714aae0081b8a3750ff 100644
--- a/components/cryptauth/cryptauth_enrollment_manager_unittest.cc
+++ b/components/cryptauth/cryptauth_enrollment_manager_unittest.cc
@@ -170,13 +170,13 @@ 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));
+ new base::Value(kLastEnrollmentTimeSeconds));
pref_service_.SetUserPref(
prefs::kCryptAuthEnrollmentReason,
- new base::FundamentalValue(cryptauth::INVOCATION_REASON_UNKNOWN));
+ new base::Value(cryptauth::INVOCATION_REASON_UNKNOWN));
std::string public_key_b64, private_key_b64;
base::Base64UrlEncode(public_key_,
@@ -336,7 +336,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(

Powered by Google App Engine
This is Rietveld 408576698