diff options
Diffstat (limited to 'base/version.h')
-rw-r--r-- | base/version.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/version.h b/base/version.h index 2fda4ad..28ee227 100644 --- a/base/version.h +++ b/base/version.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -17,11 +17,6 @@ // 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::string& version_str); - // Exposed only so that a Version can be stored in STL containers; // any call to the methods below on a default-constructed Version // will DCHECK. @@ -29,6 +24,11 @@ class Version { ~Version(); + // 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::string& version_str); + // Creates a copy of this version. Caller takes ownership. Version* Clone() const; |