[ios] Remove Start feature params
Change-Id: I41ea35ae7158dd81ee08fc6def5a65f440457c9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4846539
Reviewed-by: Sylvain Defresne <[email protected]>
Code-Coverage: [email protected] <[email protected]>
Reviewed-by: Scott Yoder <[email protected]>
Commit-Queue: Chris Lu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1199069}
diff --git a/ios/chrome/browser/flags/about_flags.mm b/ios/chrome/browser/flags/about_flags.mm
index e709859..6601df3 100644
--- a/ios/chrome/browser/flags/about_flags.mm
+++ b/ios/chrome/browser/flags/about_flags.mm
@@ -297,71 +297,16 @@
{"All improvements", kFeedHeaderSettingAllImprovements,
std::size(kFeedHeaderSettingAllImprovements), nullptr}};
-const FeatureEntry::FeatureParam kStartSurfaceTenSecondsShrinkLogo[] = {
- {kStartSurfaceShrinkLogoParam, "true"},
+const FeatureEntry::FeatureParam kStartSurfaceTenSeconds[] = {
{kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
-const FeatureEntry::FeatureParam kStartSurfaceTenSecondsHideShortcuts[] = {
- {kStartSurfaceHideShortcutsParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
-const FeatureEntry::FeatureParam kStartSurfaceTenSecondsReturnToRecentTab[] = {
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
-const FeatureEntry::FeatureParam
- kStartSurfaceTenSecondsShrinkLogoReturnToRecentTab[] = {
- {kStartSurfaceShrinkLogoParam, "true"},
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
-const FeatureEntry::FeatureParam
- kStartSurfaceTenSecondsHideShortcutsReturnToRecentTab[] = {
- {kStartSurfaceHideShortcutsParam, "true"},
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
-const FeatureEntry::FeatureParam kStartSurfaceOneHourShrinkLogo[] = {
- {kStartSurfaceShrinkLogoParam, "true"},
+const FeatureEntry::FeatureParam kStartSurfaceOneHour[] = {
{kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
-const FeatureEntry::FeatureParam kStartSurfaceOneHourHideShortcuts[] = {
- {kStartSurfaceHideShortcutsParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
-const FeatureEntry::FeatureParam kStartSurfaceOneHourReturnToRecentTab[] = {
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
-const FeatureEntry::FeatureParam
- kStartSurfaceOneHourShrinkLogoReturnToRecentTab[] = {
- {kStartSurfaceShrinkLogoParam, "true"},
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
-const FeatureEntry::FeatureParam
- kStartSurfaceOneHourHideShortcutsReturnToRecentTab[] = {
- {kStartSurfaceHideShortcutsParam, "true"},
- {kStartSurfaceReturnToRecentTabParam, "true"},
- {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
const FeatureEntry::FeatureVariation kStartSurfaceVariations[] = {
- {"10s:Show Return to Recent Tab tile",
- kStartSurfaceTenSecondsReturnToRecentTab,
- std::size(kStartSurfaceTenSecondsReturnToRecentTab), nullptr},
- {"10s:Shrink Logo", kStartSurfaceTenSecondsShrinkLogo,
- std::size(kStartSurfaceTenSecondsShrinkLogo), nullptr},
- {"10s:Hide Shortcuts", kStartSurfaceTenSecondsHideShortcuts,
- std::size(kStartSurfaceTenSecondsHideShortcuts), nullptr},
- {"10s:Shrink Logo and show Return to Recent Tab tile",
- kStartSurfaceTenSecondsShrinkLogoReturnToRecentTab,
- std::size(kStartSurfaceTenSecondsShrinkLogoReturnToRecentTab), nullptr},
- {"10s:Hide Shortcuts and show Return to Recent Tab tile",
- kStartSurfaceTenSecondsHideShortcutsReturnToRecentTab,
- std::size(kStartSurfaceTenSecondsHideShortcutsReturnToRecentTab), nullptr},
- {"1h:Show Return to Recent Tab tile", kStartSurfaceOneHourReturnToRecentTab,
- std::size(kStartSurfaceOneHourReturnToRecentTab), nullptr},
- {"1h:Shrink Logo", kStartSurfaceOneHourShrinkLogo,
- std::size(kStartSurfaceOneHourShrinkLogo), nullptr},
- {"1h:Hide Shortcuts", kStartSurfaceOneHourHideShortcuts,
- std::size(kStartSurfaceOneHourHideShortcuts), nullptr},
- {"1h:Shrink Logo and show Return to Recent Tab tile",
- kStartSurfaceOneHourShrinkLogoReturnToRecentTab,
- std::size(kStartSurfaceOneHourShrinkLogoReturnToRecentTab), nullptr},
- {"1h:Hide Shortcuts and show Return to Recent Tab tile",
- kStartSurfaceOneHourHideShortcutsReturnToRecentTab,
- std::size(kStartSurfaceOneHourHideShortcutsReturnToRecentTab), nullptr},
+ {"10s:Show Home Surface", kStartSurfaceTenSeconds,
+ std::size(kStartSurfaceTenSeconds), nullptr},
+ {"1h:Show Home Surface", kStartSurfaceOneHour,
+ std::size(kStartSurfaceOneHour), nullptr},
};
const FeatureEntry::FeatureParam kMagicStackMostVisitedModule[] = {