From c9c07779224d9dd320323943a569dbf2e416a411 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 3 Aug 2010 14:39:42 +0000 Subject: Remove number conversion functions from string_util. These moved to string_number_conversions. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3054036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54747 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run/first_run_win.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chrome/browser/first_run') diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc index d885ad7..9e2c87c 100644 --- a/chrome/browser/first_run/first_run_win.cc +++ b/chrome/browser/first_run/first_run_win.cc @@ -24,6 +24,7 @@ #include "base/process_util.h" #include "base/registry.h" #include "base/scoped_comptr_win.h" +#include "base/string_number_conversions.h" #include "base/string_util.h" #include "base/win_util.h" #include "chrome/common/chrome_constants.h" @@ -591,13 +592,13 @@ bool DecodeImportParams(const std::wstring& encoded, if (v.size() != 3) return false; - if (!StringToInt(v[0], browser_type)) + if (!base::StringToInt(v[0], browser_type)) return false; - if (!StringToInt(v[1], options)) + if (!base::StringToInt(v[1], options)) return false; - *window = reinterpret_cast(StringToInt64(v[2])); + *window = reinterpret_cast(base::StringToInt64(v[2])); return true; } -- cgit v1.1