[Mac] Do not show the 'Make X the default browser' button on Canary.
commitca3dfc3d4ff4a4d63ae0acb46f9dd65bc2ae622a
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 20:06:01 +0000 (19 20:06 +0000)
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 20:07:12 +0000 (19 20:07 +0000)
treef65c33a7e98352d9791a8d9a4b24bde8d991d021
parentc0cb6718aadfc9684d093ed9f9a936ddd45368d8
[Mac] Do not show the 'Make X the default browser' button on Canary.

For reasons that appear largely historical, the code path for determining the
default-allowing state in the settings UI is special-cased on Mac. This removes
that and just uses the cross-platform logic, which doesn't enable the button for
Canary.

BUG=370548
TEST=Put KSChannelID=canary in the Info.plist (or just run Canary) and chrome://settings button for the default browser is not present.
R=jhawkins@chromium.org

Review URL: https://codereview.chromium.org/490523004

Cr-Commit-Position: refs/heads/master@{#290642}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290642 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/webui/options/browser_options_handler.cc