Commit 32eb327e authored by Varun Khaneja's avatar Varun Khaneja Committed by Commit Bot

Show the enabled status of local blacklists V2 for Clank on CrSb WebUI

This will be useful for the test team to verify that the feature
is turned on or off.

Bug: 747428
Change-Id: I7aba957453a5c52cdfcdec64bec778e0d2be2cd9
Reviewed-on: https://chromium-review.googlesource.com/c/1258208Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Commit-Queue: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596006}
parent 84af0be3
......@@ -55,6 +55,9 @@ const base::Feature kTriggerThrottlerDailyQuotaFeature{
"SafeBrowsingTriggerThrottlerDailyQuota",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kUseLocalBlacklistsV2{"SafeBrowsingUseLocalBlacklistsV2",
base::FEATURE_DISABLED_BY_DEFAULT};
namespace {
// List of experimental features. Boolean value for each list member should be
// set to true if the experiment is currently running at a probability other
......@@ -73,6 +76,7 @@ constexpr struct {
{&kSuspiciousSiteTriggerQuotaFeature, true},
{&kThreatDomDetailsTagAndAttributeFeature, false},
{&kTriggerThrottlerDailyQuotaFeature, false},
{&kUseLocalBlacklistsV2, true},
};
// Adds the name and the enabled/disabled status of a given feature.
......
......@@ -58,6 +58,9 @@ extern const base::Feature kThreatDomDetailsTagAndAttributeFeature;
// trials simultaneously.
extern const base::Feature kTriggerThrottlerDailyQuotaFeature;
// Controls whether Chrome on Android uses locally cached blacklists.
extern const base::Feature kUseLocalBlacklistsV2;
base::ListValue GetFeatureStatusList();
} // namespace safe_browsing
......
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