summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 14:39:42 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 14:39:42 +0000
commitc9c07779224d9dd320323943a569dbf2e416a411 (patch)
treea040e1ca03410c7cb37547b16b5a0fb8bea67dde /chrome/browser/first_run
parentbe1ce6a7b2fa7e9622e5b249abd5fab478b6ca05 (diff)
downloadchromium_src-c9c07779224d9dd320323943a569dbf2e416a411.zip
chromium_src-c9c07779224d9dd320323943a569dbf2e416a411.tar.gz
chromium_src-c9c07779224d9dd320323943a569dbf2e416a411.tar.bz2
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
Diffstat (limited to 'chrome/browser/first_run')
-rw-r--r--chrome/browser/first_run/first_run_win.cc7
1 files changed, 4 insertions, 3 deletions
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<HWND>(StringToInt64(v[2]));
+ *window = reinterpret_cast<HWND>(base::StringToInt64(v[2]));
return true;
}