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

Issue 2163033002: base::Version constructor from std::vector<uint32_t> (Closed)

Created:
4 years, 5 months ago by Alex Z.
Modified:
4 years, 5 months ago
Reviewers:
danakj, Fady Samuel
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base::Version constructor from std::vector<uint32_t> The new constructor is to be used by Version's mojom struct and its type mapping. BUG=622707 Committed: https://crrev.com/8fb38080e8833699973f510470fe2664e4fd3df6 Cr-Commit-Position: refs/heads/master@{#407529}

Patch Set 1 #

Total comments: 5

Patch Set 2 : operator= and changes based on comments #

Total comments: 12

Patch Set 3 : Vector passed by value #

Total comments: 2

Patch Set 4 : Changes based on nit comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M base/version.h View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M base/version.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/version_unittest.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
Alex Z.
Please review my changes. I added a move constructor to base::Version to be used by ...
4 years, 5 months ago (2016-07-19 19:54:22 UTC) #2
Fady Samuel
https://codereview.chromium.org/2163033002/diff/1/base/version.cc File base/version.cc (right): https://codereview.chromium.org/2163033002/diff/1/base/version.cc#newcode97 base/version.cc:97: components_ = components; Add to initializer list.
4 years, 5 months ago (2016-07-19 19:56:46 UTC) #3
danakj
https://codereview.chromium.org/2163033002/diff/1/base/version.h File base/version.h (right): https://codereview.chromium.org/2163033002/diff/1/base/version.h#newcode35 base/version.h:35: explicit Version(std::vector<uint32_t>&& components); this should come with an operator=. ...
4 years, 5 months ago (2016-07-19 19:59:28 UTC) #4
danakj
> BUG= Why no bug?
4 years, 5 months ago (2016-07-19 19:59:47 UTC) #6
Alex Z.
On 2016/07/19 19:59:47, danakj wrote: > > BUG= > > Why no bug? I have ...
4 years, 5 months ago (2016-07-19 20:40:28 UTC) #9
danakj
Thanks for the context and linking a bug. Question remains about the copy constructor. On ...
4 years, 5 months ago (2016-07-19 20:46:02 UTC) #10
Alex Z.
https://codereview.chromium.org/2163033002/diff/1/base/version.cc File base/version.cc (right): https://codereview.chromium.org/2163033002/diff/1/base/version.cc#newcode97 base/version.cc:97: components_ = components; On 2016/07/19 19:56:46, Fady Samuel wrote: ...
4 years, 5 months ago (2016-07-19 20:46:13 UTC) #11
danakj
https://codereview.chromium.org/2163033002/diff/1/base/version.h File base/version.h (right): https://codereview.chromium.org/2163033002/diff/1/base/version.h#newcode35 base/version.h:35: explicit Version(std::vector<uint32_t>&& components); On 2016/07/19 20:46:13, StarAZ1 wrote: > ...
4 years, 5 months ago (2016-07-19 20:50:07 UTC) #12
Fady Samuel
https://codereview.chromium.org/2163033002/diff/20001/base/version.h File base/version.h (right): https://codereview.chromium.org/2163033002/diff/20001/base/version.h#newcode35 base/version.h:35: explicit Version(std::vector<uint32_t>&& components); On 2016/07/19 20:50:07, danakj wrote: > ...
4 years, 5 months ago (2016-07-19 21:05:59 UTC) #13
danakj
https://codereview.chromium.org/2163033002/diff/20001/base/version.h File base/version.h (right): https://codereview.chromium.org/2163033002/diff/20001/base/version.h#newcode35 base/version.h:35: explicit Version(std::vector<uint32_t>&& components); On 2016/07/19 21:05:59, Fady Samuel wrote: ...
4 years, 5 months ago (2016-07-19 21:18:32 UTC) #14
Alex Z.
https://codereview.chromium.org/2163033002/diff/20001/base/version.cc File base/version.cc (right): https://codereview.chromium.org/2163033002/diff/20001/base/version.cc#newcode83 base/version.cc:83: Version::Version(const Version& other) = default; On 2016/07/19 20:50:07, danakj ...
4 years, 5 months ago (2016-07-22 13:28:03 UTC) #18
danakj
LGTM with comment nits. Also the CL description won't include the subject. I copied the ...
4 years, 5 months ago (2016-07-22 21:29:48 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2163033002/60001
4 years, 5 months ago (2016-07-25 17:19:47 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-25 18:48:36 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 18:50:59 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8fb38080e8833699973f510470fe2664e4fd3df6
Cr-Commit-Position: refs/heads/master@{#407529}

Powered by Google App Engine
This is Rietveld 408576698