| Index: ios/chrome/browser/about_flags.mm
|
| diff --git a/ios/chrome/browser/about_flags.mm b/ios/chrome/browser/about_flags.mm
|
| index 4f2bb8c16d5a0738d876196c3839f6054d31ba7d..05639db3c34e362b21db6186b6f2c0fd9d093daf 100644
|
| --- a/ios/chrome/browser/about_flags.mm
|
| +++ b/ios/chrome/browser/about_flags.mm
|
| @@ -26,6 +26,7 @@
|
| #include "components/flags_ui/flags_storage.h"
|
| #include "components/flags_ui/flags_ui_switches.h"
|
| #include "components/ntp_tiles/switches.h"
|
| +#include "components/payments/core/features.h"
|
| #include "components/security_state/core/switches.h"
|
| #include "components/signin/core/common/signin_switches.h"
|
| #include "components/strings/grit/components_strings.h"
|
| @@ -89,6 +90,9 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
|
| {"mark-non-secure-as", flag_descriptions::kMarkHttpAsName,
|
| flag_descriptions::kMarkHttpAsDescription, flags_ui::kOsIos,
|
| MULTI_VALUE_TYPE(kMarkHttpAsChoices)},
|
| + {"web-payments", flag_descriptions::kWebPaymentsName,
|
| + flag_descriptions::kWebPaymentsDescription, flags_ui::kOsIos,
|
| + FEATURE_VALUE_TYPE(payments::features::kWebPayments)},
|
| };
|
|
|
| // Add all switches from experimental flags to |command_line|.
|
| @@ -203,15 +207,6 @@ void AppendSwitchesFromExperimentalSettings(base::CommandLine* command_line) {
|
| web::BuildUserAgentFromProduct(product));
|
| }
|
|
|
| - // Populate command line flag for the Payment Request API.
|
| - NSString* enable_payment_request =
|
| - [defaults stringForKey:@"EnablePaymentRequest"];
|
| - if ([enable_payment_request isEqualToString:@"Enabled"]) {
|
| - command_line->AppendSwitch(switches::kEnablePaymentRequest);
|
| - } else if ([enable_payment_request isEqualToString:@"Disabled"]) {
|
| - command_line->AppendSwitch(switches::kDisablePaymentRequest);
|
| - }
|
| -
|
| // Populate command line flag for Suggestions UI display.
|
| NSString* enableSuggestions = [defaults stringForKey:@"EnableSuggestions"];
|
| if ([enableSuggestions isEqualToString:@"Enabled"]) {
|
|
|