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

Issue 2283363005: Attempt the elevated path for the rename dance first for per-machine installs. (Closed)

Created:
4 years, 3 months ago by grt (UTC plus 2)
Modified:
4 years, 3 months ago
Reviewers:
brucedawson
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Attempt the elevated path for the rename dance first for per-machine installs. This will eliminate some wasted cycles during the rename dance for the majority of installs, thereby leading to a better update experience for users. Also included in this change: removed some duplicated code and fixed up use of the registry. More on the latter: all integration points between Chrome and Google Update unconditionally take place in the 32-bit view of the Windows registry. As such, we use KEY_WOW64_32KEY everywhere even when it isn't strictly needed. It seems that this spot was missed during the great 64-bit-ification of Chrome. It just so happens that it's harmless for per-user installs since HKCU\Software is not redirected for 64-bit apps in the way that HKLM\Software is. BUG=610305 R=brucedawson@chromium.org Committed: https://crrev.com/b35a90bd1b901860dbc8db106649f207c60690e2 Cr-Commit-Position: refs/heads/master@{#415163}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M chrome/browser/first_run/upgrade_util_win.cc View 2 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
grt (UTC plus 2)
PTAL. Please feel at liberty to check the CQ box if it looks good to ...
4 years, 3 months ago (2016-08-29 11:37:41 UTC) #1
brucedawson
In addition to the described changes this makes use of IsUpdatePendingRestart() to avoid code duplication ...
4 years, 3 months ago (2016-08-29 19:22:02 UTC) #6
grt (UTC plus 2)
You betcha. PTAL and CQ if ya likes.
4 years, 3 months ago (2016-08-29 20:12:16 UTC) #8
brucedawson
lgtm
4 years, 3 months ago (2016-08-29 20:25:31 UTC) #9
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/2283363005/1
4 years, 3 months ago (2016-08-29 20:49:19 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-30 05:34:39 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 05:38:25 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b35a90bd1b901860dbc8db106649f207c60690e2
Cr-Commit-Position: refs/heads/master@{#415163}

Powered by Google App Engine
This is Rietveld 408576698