| 158 | } |
| 159 | |
| 160 | int Version::CompareTo(const Version& other) const { |
| 161 | DCHECK(IsValid()); |
| 162 | DCHECK(other.IsValid()); |
| 163 | return CompareVersionComponents(components_, other.components_); |
| 164 | } |
| 165 | |
| 166 | const std::string Version::GetString() const { |
| 167 | DCHECK(IsValid()); |