Skip to content
Commit 086b692b authored by Orin Jaworski's avatar Orin Jaworski Committed by Chromium LUCI CQ
Browse files

[omnibox] Replace IsBrowserUpdateAvailable with IsIncognitoModeAvailable

This CL inhibits the Incognito Pedal when Incognito mode is not
available according to the profile, modeling the check after
a similar function in AppMenuModel, making use of IncognitoModePrefs.

Since the IsBrowserUpdateAvailable method is no longer used, this
CL cleans it up by replacement.

Bug: 1153377
Change-Id: Ie2c68c122e3b185ac996168e776a859c03d2322d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2581813


Commit-Queue: Orin Jaworski <orinj@chromium.org>
Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#835486}
parent abb345ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment