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

Issue 96193003: Uninstall multi-install Chrome Frame when updated. (Closed)

Created:
7 years ago by grt (UTC plus 2)
Modified:
7 years ago
Reviewers:
robertshield, M-A Ruel
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Uninstall multi-install Chrome Frame when updated. If multi-install Chrome Frame is present when a multi-install install or update is processed, CF is uninstalled prior to ordinary processing. The binaries will be removed if they are not in use. Otherwise, they will stick around until the next update for which they are not in use. BUG=316496 R=robertshield@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238588

Patch Set 1 : #

Total comments: 4

Patch Set 2 : rebase to r237927 #

Total comments: 6

Patch Set 3 : also block uninstall if the cf helper dll is in use #

Patch Set 4 : Unittest and Robert comments #

Total comments: 2

Patch Set 5 : rebase to r238413 #

Patch Set 6 : rebase to r238541 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -85 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 4 chunks +160 lines, -72 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/installer/util/installer_state.h View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/installer/util/installer_state.cc View 1 2 5 chunks +28 lines, -7 lines 0 comments Download
M chrome/installer/util/installer_state_unittest.cc View 1 2 3 4 5 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
grt (UTC plus 2)
Hi Robert, This appears to do the trick and also fixes a bug or two ...
7 years ago (2013-11-29 04:23:03 UTC) #1
grt (UTC plus 2)
+maruel for PRESUBMIT.py OWNERS review
7 years ago (2013-11-29 04:24:41 UTC) #2
M-A Ruel
presubmit rubberstamped lgtm
7 years ago (2013-11-29 13:33:58 UTC) #3
robertshield
As discussed, may want to add the helper dll here: https://code.google.com/p/chromium/codesearch#chromium/src/chrome/installer/util/installer_state.cc&l=622 https://codereview.chromium.org/96193003/diff/70001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): ...
7 years ago (2013-11-29 18:50:25 UTC) #4
grt (UTC plus 2)
PTAL, thanks. https://codereview.chromium.org/96193003/diff/70001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://codereview.chromium.org/96193003/diff/70001/chrome/installer/setup/setup_main.cc#newcode1440 chrome/installer/setup/setup_main.cc:1440: const Product* chrome_frame = uninstall_state.FindProduct( On 2013/11/29 ...
7 years ago (2013-12-02 15:28:30 UTC) #5
grt (UTC plus 2)
ping
7 years ago (2013-12-03 02:08:17 UTC) #6
robertshield
lgtm https://codereview.chromium.org/96193003/diff/120001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://codereview.chromium.org/96193003/diff/120001/chrome/installer/setup/setup_main.cc#newcode826 chrome/installer/setup/setup_main.cc:826: LOG(INFO) << "Uninstalling unused binaries"; VLOG(1) instead?
7 years ago (2013-12-03 02:20:04 UTC) #7
grt (UTC plus 2)
Will land as-is, and will change logging in a separate change if necessary. Thanks for ...
7 years ago (2013-12-03 13:37:51 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/96193003/120001
7 years ago (2013-12-03 13:38:07 UTC) #9
commit-bot: I haz the power
Failed to apply patch for PRESUBMIT.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-03 13:38:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/96193003/140001
7 years ago (2013-12-03 19:26:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/96193003/140001
7 years ago (2013-12-03 23:46:50 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=196714
7 years ago (2013-12-04 02:55:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/96193003/160001
7 years ago (2013-12-04 03:29:13 UTC) #14
commit-bot: I haz the power
7 years ago (2013-12-04 05:52:59 UTC) #15
Message was sent while issue was closed.
Change committed as 238588

Powered by Google App Engine
This is Rietveld 408576698