| 1609 | } |
| 1610 | |
| 1611 | bool ApplicationVersion::VersionLt(const ApplicationVersion& other_version) const { |
| 1612 | if (application_ != other_version.application_) return false; |
| 1613 | |
| 1614 | if (version.major < other_version.version.major) return true; |
| 1615 | if (version.major > other_version.version.major) return false; |
| 1616 | DCHECK_EQ(version.major, other_version.version.major); |
| 1617 | if (version.minor < other_version.version.minor) return true; |
| 1618 | if (version.minor > other_version.version.minor) return false; |
| 1619 | DCHECK_EQ(version.minor, other_version.version.minor); |
| 1620 | return version.patch < other_version.version.patch; |
| 1621 | } |
| 1622 | |
| 1623 | bool ApplicationVersion::VersionEq(const ApplicationVersion& other_version) const { |
| 1624 | return application_ == other_version.application_ && |
no outgoing calls