Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 1575523002: Comparison and streaming operators for base::Version (Closed)

Created:
4 years, 11 months ago by Rob Percival
Modified:
4 years, 11 months ago
Reviewers:
brettw
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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. Committed: https://crrev.com/dcd8b10251803c2572bb5c45d4535ff19e877a0a Cr-Commit-Position: refs/heads/master@{#371279}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addresses review comments #

Patch Set 3 : Removes obsolete TODO #

Patch Set 4 : Rebase + replace some new uses of Version::Equals #

Patch Set 5 : Replaces the last of the new uses of Version::Equals #

Patch Set 6 : Adds missing dereference of pointer to base::Version #

Patch Set 7 : Updates use of base::Version in Windows installer code #

Patch Set 8 : Rebase + updates to uses of base::Version in Windows-only code #

Patch Set 9 : Fixes mistake in previous patch set. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -113 lines) Patch
M base/version.h View 1 3 chunks +10 lines, -8 lines 0 comments Download
M base/version.cc View 1 2 4 chunks +28 lines, -15 lines 0 comments Download
M base/version_unittest.cc View 1 2 chunks +29 lines, -3 lines 0 comments Download
M chrome/app/chrome_crash_reporter_client.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/component_updater/pnacl_component_installer.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_sync_unittest.cc View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/pdf/adobe_reader_info_win.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -10 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/installer/util/installer_state_unittest.cc View 1 2 3 4 5 6 7 6 chunks +6 lines, -9 lines 0 comments Download
M chrome/installer/util/product_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/component_updater/default_component_installer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/update_client/update_client_unittest.cc View 1 2 3 8 chunks +24 lines, -24 lines 0 comments Download
M components/variations/service/variations_service.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/content_hash_reader.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/updater/update_service_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_info_collector_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (22 generated)
Rob Percival
4 years, 11 months ago (2016-01-08 18:44:57 UTC) #4
Rob Percival
4 years, 11 months ago (2016-01-08 18:49:24 UTC) #7
brettw
https://codereview.chromium.org/1575523002/diff/1/base/version.h File base/version.h (right): https://codereview.chromium.org/1575523002/diff/1/base/version.h#newcode70 base/version.h:70: BASE_EXPORT std::ostream& operator<<(std::ostream& stream, const Version& v); I think ...
4 years, 11 months ago (2016-01-08 19:31:16 UTC) #9
Rob Percival
https://codereview.chromium.org/1575523002/diff/1/base/version.cc File base/version.cc (right): https://codereview.chromium.org/1575523002/diff/1/base/version.cc#newcode37 base/version.cc:37: // this string conversion. What does the above TODO ...
4 years, 11 months ago (2016-01-09 23:54:04 UTC) #10
Rob Percival
PTAL
4 years, 11 months ago (2016-01-18 10:40:06 UTC) #12
brettw
lgtm https://codereview.chromium.org/1575523002/diff/1/base/version.cc File base/version.cc (right): https://codereview.chromium.org/1575523002/diff/1/base/version.cc#newcode37 base/version.cc:37: // this string conversion. On 2016/01/09 23:54:03, Rob ...
4 years, 11 months ago (2016-01-19 23:33:33 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/40001
4 years, 11 months ago (2016-01-20 22:09:54 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/161214)
4 years, 11 months ago (2016-01-20 22:28:21 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/60001
4 years, 11 months ago (2016-01-21 11:05:33 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/132478)
4 years, 11 months ago (2016-01-21 11:30:48 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/80001
4 years, 11 months ago (2016-01-21 13:22:29 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/147936) mac_chromium_compile_dbg_ng on ...
4 years, 11 months ago (2016-01-21 13:36:33 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/100001
4 years, 11 months ago (2016-01-22 14:02:35 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/163098)
4 years, 11 months ago (2016-01-22 14:38:25 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/120001
4 years, 11 months ago (2016-01-22 18:20:55 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/135148) win_chromium_x64_rel_ng on ...
4 years, 11 months ago (2016-01-22 19:05:06 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/160001
4 years, 11 months ago (2016-01-25 14:20:13 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-25 16:16:47 UTC) #37
Rob Percival
On 2016/01/25 16:16:47, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 11 months ago (2016-01-25 16:35:46 UTC) #38
brettw
lgtm
4 years, 11 months ago (2016-01-25 19:21:43 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575523002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575523002/160001
4 years, 11 months ago (2016-01-25 19:29:00 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-25 19:39:21 UTC) #43
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 19:53:56 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/dcd8b10251803c2572bb5c45d4535ff19e877a0a
Cr-Commit-Position: refs/heads/master@{#371279}

Powered by Google App Engine
This is Rietveld 408576698