summaryrefslogtreecommitdiffstats
path: root/base/version.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 00:09:50 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 00:09:50 +0000
commitbf94d1a4cee4be0648778022f27100f8a074e34a (patch)
treebc9c5a831207e06e5cbd179eafc9ffa2ea791589 /base/version.cc
parente31134ff5c4b5889af71cc58b294d1935fd48322 (diff)
downloadchromium_src-bf94d1a4cee4be0648778022f27100f8a074e34a.zip
chromium_src-bf94d1a4cee4be0648778022f27100f8a074e34a.tar.gz
chromium_src-bf94d1a4cee4be0648778022f27100f8a074e34a.tar.bz2
base/version: remove wstring version
And fix callers. BUG=23581 TEST=trybots Review URL: http://codereview.chromium.org/5848005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/version.cc')
-rw-r--r--base/version.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/version.cc b/base/version.cc
index fe224eb..c25b293 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -11,13 +11,6 @@
#include "base/utf_string_conversions.h"
// static
-Version* Version::GetVersionFromString(const std::wstring& version_str) {
- if (!IsStringASCII(version_str))
- return NULL;
- return GetVersionFromString(WideToUTF8(version_str));
-}
-
-// static
Version* Version::GetVersionFromString(const std::string& version_str) {
Version* vers = new Version();
if (vers->InitFromString(version_str)) {