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

Unified Diff: components/user_manager/user_manager_base.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/user_manager/user_manager_base.cc
diff --git a/components/user_manager/user_manager_base.cc b/components/user_manager/user_manager_base.cc
index 2c7b3ffddaff6b26cf2afabb450f9794db72702e..458b444f1461fbd115c90d9982bc302debb76155 100644
--- a/components/user_manager/user_manager_base.cc
+++ b/components/user_manager/user_manager_base.cc
@@ -360,7 +360,7 @@ void UserManagerBase::SaveUserOAuthStatus(
kUserOAuthTokenStatus);
oauth_status_update->SetWithoutPathExpansion(
account_id.GetUserEmail(),
- new base::FundamentalValue(static_cast<int>(oauth_token_status)));
+ new base::Value(static_cast<int>(oauth_token_status)));
}
GetLocalState()->CommitPendingWrite();
}
@@ -453,7 +453,7 @@ void UserManagerBase::SaveUserType(const AccountId& account_id,
DictionaryPrefUpdate user_type_update(GetLocalState(), kUserType);
user_type_update->SetWithoutPathExpansion(
account_id.GetUserEmail(),
- new base::FundamentalValue(static_cast<int>(user_type)));
+ new base::Value(static_cast<int>(user_type)));
GetLocalState()->CommitPendingWrite();
}
« no previous file with comments | « components/test_runner/tracked_dictionary.cc ('k') | components/user_prefs/tracked/pref_hash_calculator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698