Commit 0a74f421 authored by Ioana Pandele's avatar Ioana Pandele Committed by Commit Bot

[iOS] Add about_flags entry for leak detection

Bug: 986298
Change-Id: Iccb2f8722e09362f9c32ad496688876fe1141bf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821723Reviewed-by: default avatarJavier Ernesto Flores Robles <javierrobles@chromium.org>
Commit-Queue: Ioana Pandele <ioanap@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699715}
parent ea03feb1
...@@ -554,6 +554,9 @@ const flags_ui::FeatureEntry kFeatureEntries[] = { ...@@ -554,6 +554,9 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
{"ios-breadcrumbs", flag_descriptions::kLogBreadcrumbsName, {"ios-breadcrumbs", flag_descriptions::kLogBreadcrumbsName,
flag_descriptions::kLogBreadcrumbsDescription, flags_ui::kOsIos, flag_descriptions::kLogBreadcrumbsDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(kLogBreadcrumbs)}, FEATURE_VALUE_TYPE(kLogBreadcrumbs)},
{"password-leak-detection", flag_descriptions::kPasswordLeakDetectionName,
flag_descriptions::kPasswordLeakDetectionDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(password_manager::features::kLeakDetection)},
}; };
// Add all switches from experimental flags to |command_line|. // Add all switches from experimental flags to |command_line|.
......
...@@ -287,6 +287,10 @@ const char kOptionalArticleThumbnailDescription[] = ...@@ -287,6 +287,10 @@ const char kOptionalArticleThumbnailDescription[] =
"Make thumbnails of NTP articles optional due to European copyright " "Make thumbnails of NTP articles optional due to European copyright "
"directive(EUCD). Also change the layout of article cells"; "directive(EUCD). Also change the layout of article cells";
const char kPasswordLeakDetectionName[] = "Password Leak Detection";
const char kPasswordLeakDetectionDescription[] =
"Enables the detection of leaked passwords.";
const char kSearchIconToggleName[] = "Change the icon for the search button"; const char kSearchIconToggleName[] = "Change the icon for the search button";
const char kSearchIconToggleDescription[] = const char kSearchIconToggleDescription[] =
"Different icons for the search button."; "Different icons for the search button.";
......
...@@ -240,6 +240,11 @@ extern const char kOmniboxOnDeviceHeadSuggestionsDescription[]; ...@@ -240,6 +240,11 @@ extern const char kOmniboxOnDeviceHeadSuggestionsDescription[];
extern const char kOptionalArticleThumbnailName[]; extern const char kOptionalArticleThumbnailName[];
extern const char kOptionalArticleThumbnailDescription[]; extern const char kOptionalArticleThumbnailDescription[];
// Title and description for the flag to enable leak detection for entered
// credentials.
extern const char kPasswordLeakDetectionName[];
extern const char kPasswordLeakDetectionDescription[];
// Title and description for the flag to toggle the flag of the search button. // Title and description for the flag to toggle the flag of the search button.
extern const char kSearchIconToggleName[]; extern const char kSearchIconToggleName[];
extern const char kSearchIconToggleDescription[]; extern const char kSearchIconToggleDescription[];
......
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