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

Issue 949573002: Support plugin version mid-portions with leading zeros. (Closed)

Created:
5 years, 10 months ago by Will Harris
Modified:
5 years, 10 months ago
Reviewers:
Nico
CC:
chromium-reviews, erikwright+watch_chromium.org, laforge
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support plugin version mid-portions with leading zeros. Now supported: 1.02.3.4 Remains unsupported: 01.2.3.4 BUG=460642 Committed: https://crrev.com/f15124923f9da90592b84573cb4299b4b8ddc11c Cr-Commit-Position: refs/heads/master@{#317524}

Patch Set 1 #

Total comments: 2

Patch Set 2 : only reject leading zero for first version part #

Total comments: 2

Patch Set 3 : one more test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M base/version.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M base/version_unittest.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Will Harris
PTAL
5 years, 10 months ago (2015-02-21 00:34:59 UTC) #2
Nico
Seems generally fine (I looked through the "prevent 032" history; it's been around since https://codereview.chromium.org/19667, ...
5 years, 10 months ago (2015-02-21 23:11:16 UTC) #3
Will Harris
PTAL - added a few more test cases too. https://codereview.chromium.org/949573002/diff/1/base/version_unittest.cc File base/version_unittest.cc (right): https://codereview.chromium.org/949573002/diff/1/base/version_unittest.cc#newcode53 base/version_unittest.cc:53: ...
5 years, 10 months ago (2015-02-22 00:37:37 UTC) #4
Nico
thanks! https://codereview.chromium.org/949573002/diff/20001/base/version_unittest.cc File base/version_unittest.cc (right): https://codereview.chromium.org/949573002/diff/20001/base/version_unittest.cc#newcode48 base/version_unittest.cc:48: {"1.-1.0", 0, false}, can you add a row ...
5 years, 10 months ago (2015-02-22 01:16:32 UTC) #5
Will Harris
thanks! https://codereview.chromium.org/949573002/diff/20001/base/version_unittest.cc File base/version_unittest.cc (right): https://codereview.chromium.org/949573002/diff/20001/base/version_unittest.cc#newcode48 base/version_unittest.cc:48: {"1.-1.0", 0, false}, On 2015/02/22 01:16:31, Nico wrote: ...
5 years, 10 months ago (2015-02-22 01:21:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949573002/40001
5 years, 10 months ago (2015-02-22 01:22:31 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-22 05:41:50 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-22 05:42:27 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f15124923f9da90592b84573cb4299b4b8ddc11c
Cr-Commit-Position: refs/heads/master@{#317524}

Powered by Google App Engine
This is Rietveld 408576698