[ntp][modules] Add about flags for shopping tasks module
Fixed: 1133411
Change-Id: Ib6ad0c6becd6d54ad9be1e1d1fb4a11828e7c214
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436655
Commit-Queue: Tibor Goldschwendt <[email protected]>
Auto-Submit: Tibor Goldschwendt <[email protected]>
Reviewed-by: Moe Ahmadi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#812533}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 7a992fd..f673e29 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1528,6 +1528,12 @@
kPromoBrowserCommandOpenSafeBrowsingSettingsCommandParam,
base::size(kPromoBrowserCommandOpenSafeBrowsingSettingsCommandParam),
nullptr}};
+#if !defined(OS_ANDROID)
+const FeatureEntry::FeatureVariation kNtpShoppingTasksModuleVariations[] = {
+ {"- Real Data", {}, 0, "t4445867" /* variation_id */},
+ {"- Fake Data", {}, 0, "t4445868" /* variation_id */},
+};
+#endif // !defined(OS_ANDROID)
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishHeuristic[] = {
@@ -4326,6 +4332,13 @@
{"ntp-modules", flag_descriptions::kNtpModulesName,
flag_descriptions::kNtpModulesDescription, kOsDesktop,
FEATURE_VALUE_TYPE(ntp_features::kModules)},
+
+ {"ntp-shopping-tasks-module",
+ flag_descriptions::kNtpShoppingTasksModuleName,
+ flag_descriptions::kNtpShoppingTasksModuleDescription, kOsDesktop,
+ FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpShoppingTasksModule,
+ kNtpShoppingTasksModuleVariations,
+ "NtpShoppingTasksModule")},
#endif // !defined(OS_ANDROID)
#if defined(DCHECK_IS_CONFIGURABLE)