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

Issue 10806086: Fix multi-install update regression. (Closed)

Created:
8 years, 5 months ago by grt (UTC plus 2)
Modified:
8 years, 5 months ago
Reviewers:
gab, robertshield
CC:
chromium-reviews, grt+watch_chromium.org, erikwright (departed), gab
Visibility:
Public.

Description

Fix multi-install update regression. - adjusted some code to handle the fact that the binaries are in the set of products now - added new process exit codes for some situations that should never happen (only if we mess up invoking setup.exe, nothing for a user to do, so no new strings) BUG=138658 TEST=install beta channel chrome then update with only "--multi-install --do-not-launch-chrome --verbose-logging" on the command line. also test single to multi migration of chrome, multi-installs with chrome frame, etc. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148261

Patch Set 1 #

Total comments: 32

Patch Set 2 : addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -112 lines) Patch
M chrome/installer/setup/install_worker.cc View 3 chunks +16 lines, -34 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 11 chunks +67 lines, -55 lines 0 comments Download
M chrome/installer/util/chrome_binaries_operations.cc View 3 chunks +10 lines, -18 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
grt (UTC plus 2)
please see my own comments to explain the changes. thanks. https://chromiumcodereview.appspot.com/10806086/diff/1/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (left): https://chromiumcodereview.appspot.com/10806086/diff/1/chrome/installer/setup/install_worker.cc#oldcode651 ...
8 years, 5 months ago (2012-07-24 15:02:03 UTC) #1
gab
Drive-by comment. https://chromiumcodereview.appspot.com/10806086/diff/1/chrome/installer/util/util_constants.h File chrome/installer/util/util_constants.h (right): https://chromiumcodereview.appspot.com/10806086/diff/1/chrome/installer/util/util_constants.h#newcode85 chrome/installer/util/util_constants.h:85: COMPILE_ASSERT(installer::INCONSISTENT_UPDATE_POLICY == 43, Change this to COMPILE_ASSERT(installer::APP_HOST_REQUIRES_BINARIES ...
8 years, 5 months ago (2012-07-24 16:57:10 UTC) #2
robertshield
One functional note in setup_main.cc:378. Otherwise LGTM w/ nits. http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (left): http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc#oldcode460 chrome/installer/setup/setup_main.cc:460: ...
8 years, 5 months ago (2012-07-24 17:16:50 UTC) #3
grt (UTC plus 2)
Thanks for the comments, guys. I'll send this to the CQ shortly unless one or ...
8 years, 5 months ago (2012-07-24 20:31:28 UTC) #4
gab
http://codereview.chromium.org/10806086/diff/1/chrome/installer/util/util_constants.h File chrome/installer/util/util_constants.h (right): http://codereview.chromium.org/10806086/diff/1/chrome/installer/util/util_constants.h#newcode85 chrome/installer/util/util_constants.h:85: COMPILE_ASSERT(installer::INCONSISTENT_UPDATE_POLICY == 43, On 2012/07/24 20:31:29, grt wrote: > ...
8 years, 5 months ago (2012-07-24 20:34:49 UTC) #5
grt (UTC plus 2)
On 2012/07/24 20:34:49, gab wrote: > http://codereview.chromium.org/10806086/diff/1/chrome/installer/util/util_constants.h > File chrome/installer/util/util_constants.h (right): > > http://codereview.chromium.org/10806086/diff/1/chrome/installer/util/util_constants.h#newcode85 > ...
8 years, 5 months ago (2012-07-24 20:44:34 UTC) #6
robertshield
lgtm http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (left): http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc#oldcode460 chrome/installer/setup/setup_main.cc:460: if (products.size() != 1) On 2012/07/24 20:31:29, grt ...
8 years, 5 months ago (2012-07-24 21:03:14 UTC) #7
grt (UTC plus 2)
http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (left): http://codereview.chromium.org/10806086/diff/1/chrome/installer/setup/setup_main.cc#oldcode460 chrome/installer/setup/setup_main.cc:460: if (products.size() != 1) On 2012/07/24 21:03:14, robertshield wrote: ...
8 years, 5 months ago (2012-07-24 21:06:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10806086/8001
8 years, 5 months ago (2012-07-24 21:30:02 UTC) #9
commit-bot: I haz the power
8 years, 5 months ago (2012-07-25 00:29:49 UTC) #10
Change committed as 148261

Powered by Google App Engine
This is Rietveld 408576698