| Index: ios/chrome/browser/experimental_flags.mm
|
| diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
|
| index d4d26e79b45f1c77b767dc37432cee10890fea8a..8bea1c5239878798336fb94925d4dbaa15fc7067 100644
|
| --- a/ios/chrome/browser/experimental_flags.mm
|
| +++ b/ios/chrome/browser/experimental_flags.mm
|
| @@ -45,6 +45,7 @@ NSString* const kPendingIndexNavigationDisabled =
|
| @"PendingIndexNavigationDisabled";
|
| NSString* const kSafariVCSignInDisabled = @"SafariVCSignInDisabled";
|
| NSString* const kWhatsNewPromoStatus = @"WhatsNewPromoStatus";
|
| +NSString* const kEnableSuggestions = @"EnableSuggestions";
|
|
|
| const base::Feature kIOSDownloadImageRenaming{
|
| "IOSDownloadImageRenaming", base::FEATURE_DISABLED_BY_DEFAULT};
|
| @@ -309,4 +310,8 @@ bool UseOnlyLocalHeuristicsForPasswordGeneration() {
|
| autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration);
|
| }
|
|
|
| +bool IsSuggestionsUIEnabled() {
|
| + return [[NSUserDefaults standardUserDefaults] boolForKey:kEnableSuggestions];
|
| +}
|
| +
|
| } // namespace experimental_flags
|
|
|