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

Unified Diff: components/cryptauth/cryptauth_device_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/cryptauth/cryptauth_device_manager_unittest.cc
diff --git a/components/cryptauth/cryptauth_device_manager_unittest.cc b/components/cryptauth/cryptauth_device_manager_unittest.cc
index c89f8261e43b4c41ee5ea7b47b9093d64318bf3d..6c6af53928a401e1fd0ad3064710fd4e46ffd7f8 100644
--- a/components/cryptauth/cryptauth_device_manager_unittest.cc
+++ b/components/cryptauth/cryptauth_device_manager_unittest.cc
@@ -383,12 +383,11 @@ class CryptAuthDeviceManagerTest
CryptAuthDeviceManager::RegisterPrefs(pref_service_.registry());
pref_service_.SetUserPref(
prefs::kCryptAuthDeviceSyncIsRecoveringFromFailure,
- new base::FundamentalValue(false));
+ new base::Value(false));
pref_service_.SetUserPref(prefs::kCryptAuthDeviceSyncLastSyncTimeSeconds,
- new base::FundamentalValue(kLastSyncTimeSeconds));
- pref_service_.SetUserPref(
- prefs::kCryptAuthDeviceSyncReason,
- new base::FundamentalValue(INVOCATION_REASON_UNKNOWN));
+ new base::Value(kLastSyncTimeSeconds));
+ pref_service_.SetUserPref(prefs::kCryptAuthDeviceSyncReason,
+ new base::Value(INVOCATION_REASON_UNKNOWN));
std::unique_ptr<base::DictionaryValue> device_dictionary(
new base::DictionaryValue());

Powered by Google App Engine
This is Rietveld 408576698