Home | History | Annotate | Download | only in base

Lines Matching defs:Version

5 #include "base/version.h"
21 // inside the version string and constructs a vector of valid integers. It stops
54 // Compares version components in |components1| with components in
82 Version::Version() {
85 Version::~Version() {
88 Version::Version(const std::string& version_str) {
96 bool Version::IsValid() const {
101 bool Version::IsValidWildcardString(const std::string& wildcard_string) {
106 Version version(version_string);
107 return version.IsValid();
110 bool Version::IsOlderThan(const std::string& version_str) const {
111 Version proposed_ver(version_str);
117 int Version::CompareToWildcardString(const std::string& wildcard_string) const {
119 DCHECK(Version::IsValidWildcardString(wildcard_string));
123 Version version(wildcard_string);
124 DCHECK(version.IsValid());
125 return CompareTo(version);
133 // If the version is smaller than the wildcard version's |parsed| vector,
135 // version is still smaller. Same logic for equality (e.g. comparing 1.2.2 to
154 bool Version::Equals(const Version& that) const {
160 int Version::CompareTo(const Version& other) const {
166 const std::string Version::GetString() const {