diff options
author | robpercival <robpercival@chromium.org> | 2016-01-25 11:39:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-25 19:53:44 +0000 |
commit | dcd8b10251803c2572bb5c45d4535ff19e877a0a (patch) | |
tree | 58cf94b4204d1e202b9324a2cddce94a373ee2e9 /extensions/browser/updater | |
parent | 4738ec3182c62d726a312f0f882d337744d7c015 (diff) | |
download | chromium_src-dcd8b10251803c2572bb5c45d4535ff19e877a0a.zip chromium_src-dcd8b10251803c2572bb5c45d4535ff19e877a0a.tar.gz chromium_src-dcd8b10251803c2572bb5c45d4535ff19e877a0a.tar.bz2 |
Comparison and streaming operators for base::Version
Changes base::Version to comply with updated style guide.
See discussion here:
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/8Q6Po7y0Kc4/discussion
Replaces Version::Equals and Version::IsOlderThan.
Review URL: https://codereview.chromium.org/1575523002
Cr-Commit-Position: refs/heads/master@{#371279}
Diffstat (limited to 'extensions/browser/updater')
-rw-r--r-- | extensions/browser/updater/update_service_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/browser/updater/update_service_unittest.cc b/extensions/browser/updater/update_service_unittest.cc index a6ed8b7..94bfad3 100644 --- a/extensions/browser/updater/update_service_unittest.cc +++ b/extensions/browser/updater/update_service_unittest.cc @@ -203,7 +203,7 @@ TEST_F(UpdateServiceTest, BasicUpdateOperations) { ASSERT_NE(nullptr, data); ASSERT_EQ(1u, data->size()); - ASSERT_TRUE(data->at(0).version.Equals(*extension1->version())); + ASSERT_EQ(data->at(0).version, *extension1->version()); update_client::CrxInstaller* installer = data->at(0).installer.get(); ASSERT_NE(installer, nullptr); |