Commit c8a9ed46 authored by Livvie Lin's avatar Livvie Lin Committed by Commit Bot

Add grey triangle experiment flag on iOS

Matches the about_flags.cc implementation.

Bug: 1008219
Change-Id: I3755cf4f7b968fc347acc0ae5ab6ef31c70223bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884755Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Livvie Lin <livvielin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710126}
parent f9f9d7af
...@@ -93,13 +93,18 @@ const FeatureEntry::FeatureParam kMarkHttpAsWarningAndDangerousOnFormEdits[] = { ...@@ -93,13 +93,18 @@ const FeatureEntry::FeatureParam kMarkHttpAsWarningAndDangerousOnFormEdits[] = {
{security_state::features::kMarkHttpAsFeatureParameterName, {security_state::features::kMarkHttpAsFeatureParameterName,
security_state::features:: security_state::features::
kMarkHttpAsParameterWarningAndDangerousOnFormEdits}}; kMarkHttpAsParameterWarningAndDangerousOnFormEdits}};
const FeatureEntry::FeatureParam kMarkHttpAsDangerWarning[] = {
{security_state::features::kMarkHttpAsFeatureParameterName,
security_state::features::kMarkHttpAsParameterDangerWarning}};
const FeatureEntry::FeatureVariation kMarkHttpAsFeatureVariations[] = { const FeatureEntry::FeatureVariation kMarkHttpAsFeatureVariations[] = {
{"(mark as actively dangerous)", kMarkHttpAsDangerous, {"(mark as actively dangerous)", kMarkHttpAsDangerous,
base::size(kMarkHttpAsDangerous), nullptr}, base::size(kMarkHttpAsDangerous), nullptr},
{"(mark with a Not Secure warning and dangerous on form edits)", {"(mark with a Not Secure warning and dangerous on form edits)",
kMarkHttpAsWarningAndDangerousOnFormEdits, kMarkHttpAsWarningAndDangerousOnFormEdits,
base::size(kMarkHttpAsWarningAndDangerousOnFormEdits), nullptr}}; base::size(kMarkHttpAsWarningAndDangerousOnFormEdits), nullptr},
{"(mark with a grey triangle icon)", kMarkHttpAsDangerWarning,
base::size(kMarkHttpAsDangerWarning), nullptr}};
const FeatureEntry::Choice kUseDdljsonApiChoices[] = { const FeatureEntry::Choice kUseDdljsonApiChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, {flags_ui::kGenericExperimentChoiceDefault, "", ""},
......
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