Commit 2e66d0c9 authored by Eric Noyau's avatar Eric Noyau Committed by Commit Bot

Removing obsolete flag.

Bug: None
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I26f97dba5a0bb07f83df184db59b8f610c220877
Reviewed-on: https://chromium-review.googlesource.com/888750Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Commit-Queue: Eric Noyau <noyau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532389}
parent 89ebb687
......@@ -48,9 +48,6 @@ bool IsMemoryDebuggingEnabled();
// Whether the Clear Browsing Data counters and time selection UI is enabled.
bool IsNewClearBrowsingDataUIEnabled();
// Whether the page icon for downgraded HTTPS is enabled.
bool IsPageIconForDowngradedHTTPSEnabled();
// Whether startup crash is enabled.
bool IsStartupCrashEnabled();
......
......@@ -101,16 +101,6 @@ bool IsNewClearBrowsingDataUIEnabled() {
return false;
}
// Emergency switch for https://crbug.com/527084 in case of unforeseen UX
// regressions.
// Defaults to Enabled unless the Finch trial has explicitly disabled it.
bool IsPageIconForDowngradedHTTPSEnabled() {
std::string group_name =
base::FieldTrialList::FindFullName("IOSPageIconForDowngradedHTTPS");
return !base::StartsWith(group_name, "Disabled",
base::CompareCase::INSENSITIVE_ASCII);
}
bool IsStartupCrashEnabled() {
return [[NSUserDefaults standardUserDefaults] boolForKey:kEnableStartupCrash];
}
......
......@@ -230,7 +230,6 @@ void LocationBarControllerImpl::OnChanged() {
bool show_icon_for_state = security_state::ShouldAlwaysShowIcon(
toolbarModel->GetSecurityLevel(false));
bool page_has_downgraded_HTTPS =
experimental_flags::IsPageIconForDowngradedHTTPSEnabled() &&
DoesCurrentPageHaveCertInfo(GetWebState());
if (show_icon_for_state || page_has_downgraded_HTTPS || page_is_offline) {
[location_bar_view_ setLeadingButtonHidden:NO];
......
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