summaryrefslogtreecommitdiffstats
path: root/base/version.cc
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 18:40:53 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 18:40:53 +0000
commit12126d37c6fafd799821164a00bf1fdd240b9ec3 (patch)
tree8a029e133da6d9ad82265b03dc930045b3ffd046 /base/version.cc
parent26807c6123b72a2ab30ff3fb2d5ab1e154fc3585 (diff)
downloadchromium_src-12126d37c6fafd799821164a00bf1fdd240b9ec3.zip
chromium_src-12126d37c6fafd799821164a00bf1fdd240b9ec3.tar.gz
chromium_src-12126d37c6fafd799821164a00bf1fdd240b9ec3.tar.bz2
Remove two deprecated methods from base::Version
BUG=none TEST=none TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10683005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/version.cc')
-rw-r--r--base/version.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/base/version.cc b/base/version.cc
index 01bf84a..b7db4b5 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -147,22 +147,6 @@ int Version::CompareToWildcardString(const std::string& wildcard_string) const {
return 0;
}
-// TODO(cpu): remove this method.
-Version* Version::GetVersionFromString(const std::string& version_str) {
- Version* vers = new Version(version_str);
- if (vers->IsValid()) {
- return vers;
- }
- delete vers;
- return NULL;
-}
-
-// TODO(cpu): remove this method.
-Version* Version::Clone() const {
- DCHECK(IsValid());
- return new Version(*this);
-}
-
bool Version::Equals(const Version& that) const {
DCHECK(IsValid());
DCHECK(that.IsValid());