DescriptionAttempt 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 #
Messages
Total messages: 17 (10 generated)
|