Commit 6c6db333 authored by Rohit Rao's avatar Rohit Rao Committed by Commit Bot

[ios] Ties the RefreshLocationBar experiment to UIRefreshPhase1.

The new location bar implementation requires that the UIRefreshPhase1
experiment also be enabled.  When UIRefreshPhase1 is disabled, also
disable RefreshLocationBar.

BUG=853408

Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ia0266255cd59ca7487d766928846439a2ac8eed0
Reviewed-on: https://chromium-review.googlesource.com/1103524
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567865}
parent c62440dd
...@@ -62,7 +62,9 @@ bool IsRefreshInfobarEnabled() { ...@@ -62,7 +62,9 @@ bool IsRefreshInfobarEnabled() {
} }
bool IsRefreshLocationBarEnabled() { bool IsRefreshLocationBarEnabled() {
return base::FeatureList::IsEnabled(kUIRefreshLocationBar); // Refresh location bar requires UIRefreshPhase1 as well.
return base::FeatureList::IsEnabled(kUIRefreshLocationBar) &&
IsUIRefreshPhase1Enabled();
} }
bool IsRefreshPopupPresentationEnabled() { bool IsRefreshPopupPresentationEnabled() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment