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

Unified Diff: chrome/browser/chromeos/settings/cros_settings.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: chrome/browser/chromeos/settings/cros_settings.cc
diff --git a/chrome/browser/chromeos/settings/cros_settings.cc b/chrome/browser/chromeos/settings/cros_settings.cc
index 45d966c4a22d1a890179a611f03f50c201c4e8fa..a5df79cf4d8932d34f2014f88a33813bc0899f49 100644
--- a/chrome/browser/chromeos/settings/cros_settings.cc
+++ b/chrome/browser/chromeos/settings/cros_settings.cc
@@ -121,19 +121,19 @@ CrosSettingsProvider::TrustedStatus CrosSettings::PrepareTrustedValues(
void CrosSettings::SetBoolean(const std::string& path, bool in_value) {
DCHECK(CalledOnValidThread());
- base::FundamentalValue value(in_value);
+ base::Value value(in_value);
Set(path, value);
}
void CrosSettings::SetInteger(const std::string& path, int in_value) {
DCHECK(CalledOnValidThread());
- base::FundamentalValue value(in_value);
+ base::Value value(in_value);
Set(path, value);
}
void CrosSettings::SetDouble(const std::string& path, double in_value) {
DCHECK(CalledOnValidThread());
- base::FundamentalValue value(in_value);
+ base::Value value(in_value);
Set(path, value);
}
« no previous file with comments | « chrome/browser/chromeos/session_length_limiter_unittest.cc ('k') | chrome/browser/chromeos/settings/cros_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698