| 1579 | } |
| 1580 | |
| 1581 | bool ApplicationVersion::VersionLt(const ApplicationVersion& other_version) const { |
| 1582 | if (application_ != other_version.application_) return false; |
| 1583 | |
| 1584 | if (version.major < other_version.version.major) return true; |
| 1585 | if (version.major > other_version.version.major) return false; |
| 1586 | DCHECK_EQ(version.major, other_version.version.major); |
| 1587 | if (version.minor < other_version.version.minor) return true; |
| 1588 | if (version.minor > other_version.version.minor) return false; |
| 1589 | DCHECK_EQ(version.minor, other_version.version.minor); |
| 1590 | return version.patch < other_version.version.patch; |
| 1591 | } |
| 1592 | |
| 1593 | bool ApplicationVersion::VersionEq(const ApplicationVersion& other_version) const { |
| 1594 | return application_ == other_version.application_ && |
no outgoing calls