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
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index 1013aed..515e0b4 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -106,10 +106,10 @@
 
 namespace internal_cloud_print_helpers {
 
-bool GetRealOrInt(const DictionaryValue& dictionary,
-                  const std::string& path,
-                  double* out_value) {
-  if (!dictionary.GetReal(path, out_value)) {
+bool GetDoubleOrInt(const DictionaryValue& dictionary,
+                    const std::string& path,
+                    double* out_value) {
+  if (!dictionary.GetDouble(path, out_value)) {
     int int_value = 0;
     if (!dictionary.GetInteger(path, &int_value))
       return false;
@@ -131,9 +131,9 @@
 
   bool result = true;
   DictionaryValue* params = static_cast<DictionaryValue*>(parsed_value.get());
-  result &= GetRealOrInt(*params, "dpi", &parameters.dpi);
-  result &= GetRealOrInt(*params, "min_shrink", &parameters.min_shrink);
-  result &= GetRealOrInt(*params, "max_shrink", &parameters.max_shrink);
+  result &= GetDoubleOrInt(*params, "dpi", &parameters.dpi);
+  result &= GetDoubleOrInt(*params, "min_shrink", &parameters.min_shrink);
+  result &= GetDoubleOrInt(*params, "max_shrink", &parameters.max_shrink);
   result &= params->GetBoolean("selection_only", &parameters.selection_only);
   return result;
 }