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

Issue 2252093002: Add support for Omaha cohorts to the component updater. (Closed)

Created:
4 years, 4 months ago by waffles
Modified:
4 years, 4 months ago
Reviewers:
Sorin Jianu
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for Omaha cohorts to the component updater. BUG=638633, 639569 Committed: https://crrev.com/f43eb2fd3de79a4ae91b49fae79c9c66d850612f Cr-Commit-Position: refs/heads/master@{#413809}

Patch Set 1 #

Patch Set 2 : Don't serialize the attrs when they are empty. #

Total comments: 12

Patch Set 3 : Through #11 #

Patch Set 4 : Using unique_ptrs instead of booleans. #

Total comments: 12

Patch Set 5 : Through #13 #

Total comments: 4

Patch Set 6 : Through #16 #

Patch Set 7 : Unittest compilation fix #

Patch Set 8 : Fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -17 lines) Patch
M components/update_client/persisted_data.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M components/update_client/persisted_data.cc View 1 2 3 4 2 chunks +70 lines, -15 lines 0 comments Download
M components/update_client/persisted_data_unittest.cc View 2 chunks +38 lines, -0 lines 0 comments Download
M components/update_client/update_checker.cc View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M components/update_client/update_response.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M components/update_client/update_response.cc View 1 2 3 4 5 5 chunks +31 lines, -2 lines 0 comments Download
M components/update_client/update_response_unittest.cc View 1 2 3 4 5 6 7 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (26 generated)
waffles
Sorin, PTAL.
4 years, 4 months ago (2016-08-17 16:53:34 UTC) #4
Sorin Jianu
Small fry, thank you! https://codereview.chromium.org/2252093002/diff/20001/components/update_client/persisted_data.cc File components/update_client/persisted_data.cc (right): https://codereview.chromium.org/2252093002/diff/20001/components/update_client/persisted_data.cc#newcode83 components/update_client/persisted_data.cc:83: DCHECK_EQ(std::string::npos, id.find('.')); If the dcheck ...
4 years, 4 months ago (2016-08-18 21:15:16 UTC) #11
waffles
https://codereview.chromium.org/2252093002/diff/20001/components/update_client/persisted_data.cc File components/update_client/persisted_data.cc (right): https://codereview.chromium.org/2252093002/diff/20001/components/update_client/persisted_data.cc#newcode83 components/update_client/persisted_data.cc:83: DCHECK_EQ(std::string::npos, id.find('.')); On 2016/08/18 21:15:15, Sorin Jianu wrote: > ...
4 years, 4 months ago (2016-08-18 22:29:23 UTC) #12
Sorin Jianu
no worries. https://codereview.chromium.org/2252093002/diff/60001/components/update_client/persisted_data.cc File components/update_client/persisted_data.cc (right): https://codereview.chromium.org/2252093002/diff/60001/components/update_client/persisted_data.cc#newcode39 components/update_client/persisted_data.cc:39: int result = fallback; we could move ...
4 years, 4 months ago (2016-08-22 19:59:34 UTC) #13
waffles
Thanks! PTAL. I tried to get clever with setting things in the map, but maybe ...
4 years, 4 months ago (2016-08-22 23:40:32 UTC) #15
Sorin Jianu
lgtm Thank you! https://codereview.chromium.org/2252093002/diff/80001/components/update_client/update_response.cc File components/update_client/update_response.cc (right): https://codereview.chromium.org/2252093002/diff/80001/components/update_client/update_response.cc#newcode106 components/update_client/update_response.cc:106: return std::unique_ptr<std::string>(new std::string( Can we use ...
4 years, 4 months ago (2016-08-23 00:20:04 UTC) #16
waffles
https://codereview.chromium.org/2252093002/diff/80001/components/update_client/update_response.cc File components/update_client/update_response.cc (right): https://codereview.chromium.org/2252093002/diff/80001/components/update_client/update_response.cc#newcode106 components/update_client/update_response.cc:106: return std::unique_ptr<std::string>(new std::string( On 2016/08/23 00:20:03, Sorin Jianu wrote: ...
4 years, 4 months ago (2016-08-23 00:36:18 UTC) #18
Sorin Jianu
lgtm <3
4 years, 4 months ago (2016-08-23 00:42:42 UTC) #20
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/2252093002/140001
4 years, 4 months ago (2016-08-23 17:57:45 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-23 19:15:45 UTC) #35
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 19:19:27 UTC) #37
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f43eb2fd3de79a4ae91b49fae79c9c66d850612f
Cr-Commit-Position: refs/heads/master@{#413809}

Powered by Google App Engine
This is Rietveld 408576698