summaryrefslogtreecommitdiffstats
path: root/base/string_util_win.cc
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 22:46:15 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 22:46:15 +0000
commita218f15b205006e999a0dcabd7ebbe631def4e3b (patch)
tree6a6a5bec8ae5a81ddab077b7c0ee1c14f991bae0 /base/string_util_win.cc
parent96d570e43c3f4cd1c8a5244b5fbf3712fba74db1 (diff)
downloadchromium_src-a218f15b205006e999a0dcabd7ebbe631def4e3b.zip
chromium_src-a218f15b205006e999a0dcabd7ebbe631def4e3b.tar.gz
chromium_src-a218f15b205006e999a0dcabd7ebbe631def4e3b.tar.bz2
Allow string-to-int conversions to provide a return value indicating success. Implement them consistently on all platforms. Fill in a couple of necessary missing pieces. Eliminate the need for many uses of sscanf. Add tests.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util_win.cc')
-rw-r--r--base/string_util_win.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/string_util_win.cc b/base/string_util_win.cc
index 6cad854..fac24a7 100644
--- a/base/string_util_win.cc
+++ b/base/string_util_win.cc
@@ -114,11 +114,3 @@ NumberFormat* NumberFormatSingleton() {
}
return number_format;
}
-
-int64 StringToInt64(const std::string& value) {
- return _atoi64(value.c_str());
-}
-
-int64 StringToInt64(const std::wstring& value) {
- return _wtoi64(value.c_str());
-}