[iOS] Add reading list account storage flags in iOS flags UI
Allow the reading list account storage related flags to be changed in
the iOS flags UI in the Chrome app, so the related features can be
tested more easily.
Bug: 1420194
Change-Id: I3f8126df069acdb2bd0f70bd67c90bcce3ab448a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4367198
Reviewed-by: Jérôme Lebel <[email protected]>
Commit-Queue: Menghan Yang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1121779}
diff --git a/ios/chrome/browser/flags/about_flags.mm b/ios/chrome/browser/flags/about_flags.mm
index d00549a..f0bf886 100644
--- a/ios/chrome/browser/flags/about_flags.mm
+++ b/ios/chrome/browser/flags/about_flags.mm
@@ -52,6 +52,7 @@
#import "components/policy/core/common/features.h"
#import "components/policy/core/common/policy_loader_ios_constants.h"
#import "components/policy/policy_constants.h"
+#import "components/reading_list/features/reading_list_switches.h"
#import "components/safe_browsing/core/common/features.h"
#import "components/send_tab_to_self/features.h"
#import "components/shared_highlighting/core/common/shared_highlighting_features.h"
@@ -1492,6 +1493,18 @@
{"sf-symbols-follow-up", flag_descriptions::kSFSymbolsFollowupName,
flag_descriptions::kSFSymbolsFollowupDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(kSFSymbolsFollowup)},
+ {"enable-reading-list-account-storage",
+ flag_descriptions::kEnableReadingListAccountStorageName,
+ flag_descriptions::kEnableReadingListAccountStorageDescription,
+ flags_ui::kOsIos,
+ FEATURE_VALUE_TYPE(
+ reading_list::switches::kReadingListEnableDualReadingListModel)},
+ {"enable-reading-list-sign-in-promo",
+ flag_descriptions::kEnableReadingListSignInPromoName,
+ flag_descriptions::kEnableReadingListSignInPromoDescription,
+ flags_ui::kOsIos,
+ FEATURE_VALUE_TYPE(reading_list::switches::
+ kReadingListEnableSyncTransportModeUponSignIn)},
};
bool SkipConditionalFeatureEntry(const flags_ui::FeatureEntry& entry) {