forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended stable channel detection for Google Chrome on Windows.
- install_static::DetermineChannel now handles a channel override value of "extended". In this case, the channel is "" (for stable) and a new bool is returned indicating that it's really extended stable. - install_static::InstallDetails retains the `is_extended_stable_channel` bool determined above for the process and install_static::IsExtendedStableChannel() now returns its value. - install_static::InstallDetails now retains the true value of the channel override from which the channel was determined when the channel originates from an override. For an install following the extended stable update channel, this will be "extended". - setup.exe now writes the override value above into the "channel" value of Chrome's Clients key so that the browser's channel detection can differentiate regular from extended stable in the same way as the installer. With these changes, "setup.exe --channel=extended" now results in a Google Chrome browser for which chrome::IsExtendedStableChannel() returns true and chrome::GetChannelName() returns "" or "extended" based on the chrome::WithExtendedStable value provided by the caller. Bug: 1185621 Change-Id: Iab59ba1b32fabf6db14af0d623acfb2ba9efa7ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2752236 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Yann Dago <ydago@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#862127}
- Loading branch information
Showing
11 changed files
with
128 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters