summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros_settings.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
commitfb534c949f92bec8c6312b58ffcc04c5dc488f2d (patch)
tree84384bdb8b06e62662ce1a5e9619ae455e9a69a8 /chrome/browser/chromeos/cros_settings.cc
parentefeb669b05db99c54309771e4884b1a17d604a37 (diff)
downloadchromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.zip
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.gz
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.bz2
Rename Real* to Double* in values.* and dependent files
BUG=None TEST=Compiles and passes all tests Review URL: http://codereview.chromium.org/6248026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros_settings.cc')
-rw-r--r--chrome/browser/chromeos/cros_settings.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/cros_settings.cc b/chrome/browser/chromeos/cros_settings.cc
index 59cdb4d..419479b 100644
--- a/chrome/browser/chromeos/cros_settings.cc
+++ b/chrome/browser/chromeos/cros_settings.cc
@@ -63,9 +63,9 @@ void CrosSettings::SetInteger(const std::string& path, int in_value) {
Set(path, Value::CreateIntegerValue(in_value));
}
-void CrosSettings::SetReal(const std::string& path, double in_value) {
+void CrosSettings::SetDouble(const std::string& path, double in_value) {
DCHECK(CalledOnValidThread());
- Set(path, Value::CreateRealValue(in_value));
+ Set(path, Value::CreateDoubleValue(in_value));
}
void CrosSettings::SetString(const std::string& path,
@@ -181,14 +181,14 @@ bool CrosSettings::GetInteger(const std::string& path,
return value->GetAsInteger(out_value);
}
-bool CrosSettings::GetReal(const std::string& path,
- double* out_value) const {
+bool CrosSettings::GetDouble(const std::string& path,
+ double* out_value) const {
DCHECK(CalledOnValidThread());
Value* value;
if (!Get(path, &value))
return false;
- return value->GetAsReal(out_value);
+ return value->GetAsDouble(out_value);
}
bool CrosSettings::GetString(const std::string& path,