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

Issue 1223953003: Introduce UpdateActiveSetupVersionWorkItem (Closed)

Created:
5 years, 5 months ago by gab
Modified:
5 years, 5 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@a1_active_setup_onosup_addCB_API
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce UpdateActiveSetupVersionWorkItem A cleaner solution coming out of an attempt to support two similar use cases differently in https://codereview.chromium.org/1213913002/ and https://codereview.chromium.org/1214163008/. Actual use cases implemented in a follow-up CL (https://codereview.chromium.org/1223933005/). BUG=488247, 502363 TEST=setup_unittests.exe --gtest_filter=UpdateActiveSetupVersionWorkItemTest* Committed: https://crrev.com/3861555fdf3bd6238cb177b66a83ac34fe06752e Cr-Commit-Position: refs/heads/master@{#338528}

Patch Set 1 #

Patch Set 2 : Do not support negative values (operate on unsigned ints) #

Total comments: 52

Patch Set 3 : nits #

Patch Set 4 : Move the files to installer/setup as-is #

Patch Set 5 : Composition instead of inheritance #

Total comments: 4

Patch Set 6 : merge to r338517 add GN support for setup_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -25 lines) Patch
M chrome/chrome_installer.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/setup/BUILD.gn View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/installer/setup/update_active_setup_version_work_item.h View 1 2 3 4 5 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/installer/setup/update_active_setup_version_work_item.cc View 1 2 3 4 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/installer/setup/update_active_setup_version_work_item_unittest.cc View 1 2 3 1 chunk +153 lines, -0 lines 0 comments Download
M chrome/installer/util/set_reg_value_work_item.h View 1 2 3 4 2 chunks +23 lines, -25 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (6 generated)
gab
Sir Greg PTAL, opted to introduce this WorkItem and its tests in a precursor CL ...
5 years, 5 months ago (2015-07-07 14:24:10 UTC) #2
grt (UTC plus 2)
i like it! https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer.gypi#newcode144 chrome/chrome_installer.gypi:144: 'installer/util/update_active_setup_version_work_item_unittest.cc', move to setup_unittests as per ...
5 years, 5 months ago (2015-07-09 14:23:54 UTC) #3
gab
PTAL, nits addressed, replies to some of the other comments below. Thanks, Gab https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer.gypi File ...
5 years, 5 months ago (2015-07-09 20:36:39 UTC) #4
gab
https://codereview.chromium.org/1223953003/diff/20001/chrome/installer/util/update_active_setup_version_work_item.h File chrome/installer/util/update_active_setup_version_work_item.h (right): https://codereview.chromium.org/1223953003/diff/20001/chrome/installer/util/update_active_setup_version_work_item.h#newcode43 chrome/installer/util/update_active_setup_version_work_item.h:43: // Number of OS upgrades handled since original install. ...
5 years, 5 months ago (2015-07-09 20:46:10 UTC) #5
grt (UTC plus 2)
https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer.gypi#newcode144 chrome/chrome_installer.gypi:144: 'installer/util/update_active_setup_version_work_item_unittest.cc', On 2015/07/09 20:36:37, gab wrote: > On 2015/07/09 ...
5 years, 5 months ago (2015-07-10 15:37:27 UTC) #6
gab
comments addressed PTAL https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer_util.gypi File chrome/chrome_installer_util.gypi (right): https://codereview.chromium.org/1223953003/diff/20001/chrome/chrome_installer_util.gypi#newcode91 chrome/chrome_installer_util.gypi:91: 'installer/util/update_active_setup_version_work_item.cc', On 2015/07/10 15:37:27, grt wrote: ...
5 years, 5 months ago (2015-07-13 16:37:38 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1223953003/120001
5 years, 5 months ago (2015-07-13 16:39:59 UTC) #11
grt (UTC plus 2)
lgtm w/ two nits https://codereview.chromium.org/1223953003/diff/120001/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): https://codereview.chromium.org/1223953003/diff/120001/chrome/chrome_installer.gypi#newcode359 chrome/chrome_installer.gypi:359: 'installer/setup/update_active_setup_version_work_item.cc', # Move to lib ...
5 years, 5 months ago (2015-07-13 16:47:05 UTC) #12
gab
Thanks https://codereview.chromium.org/1223953003/diff/120001/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): https://codereview.chromium.org/1223953003/diff/120001/chrome/chrome_installer.gypi#newcode359 chrome/chrome_installer.gypi:359: 'installer/setup/update_active_setup_version_work_item.cc', # Move to lib On 2015/07/13 16:47:04, ...
5 years, 5 months ago (2015-07-13 16:58:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1223953003/140001
5 years, 5 months ago (2015-07-13 16:58:33 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 5 months ago (2015-07-13 17:55:14 UTC) #17
commit-bot: I haz the power
5 years, 5 months ago (2015-07-13 17:56:34 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3861555fdf3bd6238cb177b66a83ac34fe06752e
Cr-Commit-Position: refs/heads/master@{#338528}

Powered by Google App Engine
This is Rietveld 408576698