diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 00:09:50 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 00:09:50 +0000 |
commit | bf94d1a4cee4be0648778022f27100f8a074e34a (patch) | |
tree | bc9c5a831207e06e5cbd179eafc9ffa2ea791589 /base/version.h | |
parent | e31134ff5c4b5889af71cc58b294d1935fd48322 (diff) | |
download | chromium_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.h')
-rw-r--r-- | base/version.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/version.h b/base/version.h index 2b182bb..33f4af5 100644 --- a/base/version.h +++ b/base/version.h @@ -12,12 +12,14 @@ #include "base/basictypes.h" #include "base/gtest_prod_util.h" +// Version represents a dotted version number, like "1.2.3.4", supporting +// parsing and comparison. +// Each component is limited to a uint16. class Version { public: // The version string must be made up of 1 or more uint16's separated // by '.'. Returns NULL if string is not in this format. // Caller is responsible for freeing the Version object once done. - static Version* GetVersionFromString(const std::wstring& version_str); static Version* GetVersionFromString(const std::string& version_str); // Exposed only so that a Version can be stored in STL containers; |