Settings reset prompt: Enable the feature for fieldtrial testing.
BUG=
Review-Url: https://codereview.chromium.org/2740893002
Cr-Commit-Position: refs/heads/master@{#455796}
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
index 7162a01..39fe982 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
@@ -65,6 +65,10 @@
std::unordered_map<SHA256Hash, int, SHA256HashHasher> domain_hashes_;
// Other feature parameters.
+ //
+ // If you add any required feature parameters, make sure to update the field
+ // trial testing configuration for the "SettingsResetPrompt" feature in
+ // src/testing/variations/fieldtrial_testing_config.json
base::TimeDelta delay_before_prompt_;
int prompt_wave_ = 0;
base::TimeDelta time_between_prompts_;
diff --git a/testing/variations/fieldtrial_testing_config.json b/testing/variations/fieldtrial_testing_config.json
index ae2982e4..05682d52 100644
--- a/testing/variations/fieldtrial_testing_config.json
+++ b/testing/variations/fieldtrial_testing_config.json
@@ -2514,6 +2514,27 @@
]
}
],
+ "SettingsResetPrompt": [
+ {
+ "platforms": [
+ "win"
+ ],
+ "experiments": [
+ {
+ "name": "Enabled",
+ "params": {
+ "delay_before_prompt_seconds": "1",
+ "domain_hashes": "{\"c027a731da03fee479b2ba00b3afe74b3fd9190f0622755db8ffa504efbde66e\":\"3\"}",
+ "prompt_wave": "20170101",
+ "time_between_prompts_seconds": "3600"
+ },
+ "enable_features": [
+ "SettingsResetPrompt"
+ ]
+ }
+ ]
+ }
+ ],
"SignInPasswordPromo": [
{
"platforms": [