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

Issue 2507293005: Force migrate all clients from multi-install back to single-install. (Closed)

Created:
4 years, 1 month ago by grt (UTC plus 2)
Modified:
4 years ago
Reviewers:
gab
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force migrate all clients from multi-install back to single-install. This is the first CL to remove multi-install from the codebase. With this change, "--multi-install" is ignored on the command line and in master preferences. All installs will henceforth be single-install. All over-installs and updates will henceforth migrate an existing multi-install back to single-install. This CL also contains the following changes to mini_installer to report state properly regardless of whether updates are being delivered via Chrome's or the binaries' app guid: - "-full" is added to both Chrome's "ap" value and, in case an existing multi-install Chrome is being updated, the binaries' "ap" value. - Installer results are written both to Chrome's ClientState key and, as above, the binaries'. Tangentially, this CL also cleans up some minor Chromium vs. Google Chrome issues with the mini_installer and fixes function ordering somewhat. BUG=577816 R=gab@chromium.org Committed: https://crrev.com/bc318bfb16955ab1c566d6582bab266ffb2e47a4 Cr-Commit-Position: refs/heads/master@{#438644}

Patch Set 1 #

Patch Set 2 : test fixes #

Patch Set 3 : mini_installer too #

Total comments: 34

Patch Set 4 : gab comments #

Patch Set 5 : deps fix #

Total comments: 8

Patch Set 6 : gab comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -525 lines) Patch
M chrome/installer/mini_installer/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/mini_installer/chrome_appid.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M chrome/installer/mini_installer/configuration.h View 1 2 3 4 5 3 chunks +12 lines, -24 lines 0 comments Download
M chrome/installer/mini_installer/configuration.cc View 1 2 3 5 chunks +42 lines, -68 lines 0 comments Download
M chrome/installer/mini_installer/configuration_test.cc View 1 2 3 4 5 6 chunks +105 lines, -76 lines 0 comments Download
M chrome/installer/mini_installer/mini_installer.cc View 1 2 5 chunks +80 lines, -67 lines 0 comments Download
M chrome/installer/mini_installer/mini_installer_constants.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/mini_installer_constants.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/regkey.h View 1 2 1 chunk +13 lines, -5 lines 0 comments Download
M chrome/installer/mini_installer/regkey.cc View 1 2 2 chunks +27 lines, -11 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/installer/setup/installer_state.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/installer/setup/installer_state.cc View 1 2 3 5 chunks +27 lines, -2 lines 0 comments Download
M chrome/installer/setup/installer_state_unittest.cc View 1 2 3 3 chunks +16 lines, -44 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/master_preferences.h View 1 2 3 chunks +4 lines, -12 lines 0 comments Download
M chrome/installer/util/master_preferences.cc View 1 2 3 4 5 4 chunks +12 lines, -45 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/util/master_preferences_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/test/mini_installer/config/chrome_multi_system_installed.prop View 1 chunk +49 lines, -0 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_multi_user_installed.prop View 4 chunks +9 lines, -3 lines 0 comments Download
D chrome/test/mini_installer/config/chrome_single_user_installed.prop View 1 chunk +0 lines, -43 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_system_installed.prop View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_system_updated.prop View 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_user_installed.prop View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_user_updated.prop View 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/test/mini_installer/config/config.config View 1 8 chunks +60 lines, -89 lines 0 comments Download
A chrome/test/mini_installer/make_chrome_multi.py View 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (36 generated)
grt (UTC plus 2)
Here's a fun one! PTAL. Feel free to loop in Robert if you think another ...
4 years ago (2016-12-12 15:36:47 UTC) #22
gab
Phew, that was quite a review (awesome btw!), lgtm overall but unless my questions below ...
4 years ago (2016-12-12 21:38:16 UTC) #25
grt (UTC plus 2)
Thanks for the great review. PTAL. https://codereview.chromium.org/2507293005/diff/80001/chrome/installer/mini_installer/chrome_appid.cc File chrome/installer/mini_installer/chrome_appid.cc (right): https://codereview.chromium.org/2507293005/diff/80001/chrome/installer/mini_installer/chrome_appid.cc#newcode15 chrome/installer/mini_installer/chrome_appid.cc:15: const wchar_t kAppGuid[] ...
4 years ago (2016-12-13 09:20:38 UTC) #28
gab
lgtm w/ nit and thoughts https://codereview.chromium.org/2507293005/diff/80001/chrome/installer/mini_installer/configuration.h File chrome/installer/mini_installer/configuration.h (right): https://codereview.chromium.org/2507293005/diff/80001/chrome/installer/mini_installer/configuration.h#newcode51 chrome/installer/mini_installer/configuration.h:51: // Retuns true if ...
4 years ago (2016-12-14 16:33:38 UTC) #35
grt (UTC plus 2)
Thanks! Sending it up to the CQ. Say goodbye to multi-install! https://codereview.chromium.org/2507293005/diff/80001/chrome/installer/mini_installer/configuration.h File chrome/installer/mini_installer/configuration.h (right): ...
4 years ago (2016-12-14 20:38:45 UTC) #36
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/2507293005/140001
4 years ago (2016-12-14 20:39:26 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years ago (2016-12-14 22:01:05 UTC) #42
commit-bot: I haz the power
4 years ago (2016-12-14 22:04:49 UTC) #44
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bc318bfb16955ab1c566d6582bab266ffb2e47a4
Cr-Commit-Position: refs/heads/master@{#438644}

Powered by Google App Engine
This is Rietveld 408576698