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

Issue 985573003: Support 32-bit subversion fields in base::Version. (Closed)

Created:
5 years, 9 months ago by Will Harris
Modified:
4 years ago
Reviewers:
Nico, ananta, jbauman
CC:
chromium-reviews, grt+watch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, wfh+watch_chromium.org, piman+watch_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support 32-bit subversion fields in base::Version. BUG=464610 TEST=base_unittests Committed: https://crrev.com/bf68f4d5ba5c035cf1aaaa4ee5915cd3e7c15327 Cr-Commit-Position: refs/heads/master@{#319806}

Patch Set 1 #

Patch Set 2 : trybot test #

Patch Set 3 : trybot test2 #

Patch Set 4 : rename back #

Total comments: 10

Patch Set 5 : code review comments #

Patch Set 6 : add a static assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -59 lines) Patch
M base/version.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M base/version.cc View 1 2 3 4 5 5 chunks +12 lines, -16 lines 0 comments Download
M base/version_unittest.cc View 1 2 3 4 2 chunks +31 lines, -25 lines 0 comments Download
M chrome/browser/component_updater/pepper_flash_component_installer.cc View 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/google/google_update_win_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/test/alternate_version_generator.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/child/npapi/webplugin_delegate_impl_win.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Will Harris
PTAL - This is specifically to support a plugin that has a subversion field > ...
5 years, 9 months ago (2015-03-06 01:55:04 UTC) #3
jbauman
content/browser/gpu lgtm
5 years, 9 months ago (2015-03-06 01:56:36 UTC) #4
Nico
This looks incomplete. For example, content/child/npapi/webplugin_delegate_impl_win.cc and chrome/browser/web_applications/web_app_mac.mm will need similar changes ( and more ...
5 years, 9 months ago (2015-03-06 16:28:10 UTC) #5
Will Harris
On 2015/03/06 16:28:10, Nico wrote: > This looks incomplete. For example, > content/child/npapi/webplugin_delegate_impl_win.cc and > ...
5 years, 9 months ago (2015-03-08 21:37:56 UTC) #9
grt (UTC plus 2)
FWIW, this class probably used 16-bit fields since that's what Windows uses: https://msdn.microsoft.com/library/windows/desktop/aa381058.aspx. Will there ...
5 years, 9 months ago (2015-03-09 13:19:49 UTC) #10
Nico
lgtm with more uint32_t (but address grt's concerns too) https://codereview.chromium.org/985573003/diff/60001/base/version.cc File base/version.cc (right): https://codereview.chromium.org/985573003/diff/60001/base/version.cc#newcode37 base/version.cc:37: ...
5 years, 9 months ago (2015-03-09 14:21:57 UTC) #11
Will Harris
Thanks for the review. Nico - please feel free to TAL while I wait for ...
5 years, 9 months ago (2015-03-09 22:52:18 UTC) #12
ananta
npapi lgtm
5 years, 9 months ago (2015-03-09 22:56:54 UTC) #13
Nico
lgtm
5 years, 9 months ago (2015-03-09 22:58:00 UTC) #14
Nico
lgtm
5 years, 9 months ago (2015-03-09 22:58:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985573003/100001
5 years, 9 months ago (2015-03-09 23:00:09 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-10 01:33:24 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 01:34:14 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bf68f4d5ba5c035cf1aaaa4ee5915cd3e7c15327
Cr-Commit-Position: refs/heads/master@{#319806}

Powered by Google App Engine
This is Rietveld 408576698