DescriptionUse InstallDetails in installer_util.
This change removes the following functionality in install_util that is
now performed once during startup in chrome_elf or setup.exe:
- ChannelInfo::GetChannelName
- InstallUtil::IsPerUserInstall
- InstallUtil::IsMultiInstall
- InstallUtil::IsChromeSxSProcess
The latter three functions now simply return the values held in the
process's InstallDetails instance, which is valid in both chrome and
setup. The same is true for GoogleUpdateSettings::GetChromeChannel and
GoogleUpdateSettings::GetChromeChannelAndModifiers.
Finally, the CHROME_PROBED_PROGRAM_FILES_PATH environment variable hack
to make IsPerUserInstall work in sandboxed procs has been removed, as
SHGetFolderPath is no longer used to determine whether or not Chrome is
running from within C:\Program Files{, (x86)}.
BUG=373987
Review-Url: https://codereview.chromium.org/2476573004
Cr-Commit-Position: refs/heads/master@{#452431}
Committed: https://chromium.googlesource.com/chromium/src/+/4cd293b2e7387f6085c1b188aea86bd744fd9f69
Patch Set 1 #Patch Set 2 : fix unit_tests #Patch Set 3 : fix unit_tests #Patch Set 4 : fix unit_tests #Patch Set 5 : simplified #Patch Set 6 : removed dead code #Patch Set 7 : rebase onto multi-install removal #Patch Set 8 : sync to position 450321 #Patch Set 9 : sync to position 450321 #
Total comments: 12
Patch Set 10 : compile fix #Patch Set 11 : gab comments #Patch Set 12 : sync to position 451750 #Patch Set 13 : sync to position 451835 #Messages
Total messages: 79 (70 generated)
|