[Web Payments] Implement skip UI flow on desktop
Bug: 820161
Change-Id: I5a458a374890a285daa594b3c2ca72a821d2f93a
Reviewed-on: https://chromium-review.googlesource.com/955891
Reviewed-by: Ganggui Tang <[email protected]>
Reviewed-by: Rouslan Solomakhin <[email protected]>
Commit-Queue: anthonyvd <[email protected]>
Cr-Commit-Position: refs/heads/master@{#543405}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index aeb7fc93..84750b5 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2735,6 +2735,11 @@
flag_descriptions::kServiceWorkerPaymentAppsDescription,
kOsAndroid | kOsDesktop,
FEATURE_VALUE_TYPE(features::kServiceWorkerPaymentApps)},
+ {"enable-web-payments-single-app-ui-skip",
+ flag_descriptions::kEnableWebPaymentsSingleAppUiSkipName,
+ flag_descriptions::kEnableWebPaymentsSingleAppUiSkipDescription,
+ kOsAndroid | kOsDesktop,
+ FEATURE_VALUE_TYPE(payments::features::kWebPaymentsSingleAppUiSkip)},
#if defined(OS_ANDROID)
{"enable-android-pay-integration-v1",
flag_descriptions::kEnableAndroidPayIntegrationV1Name,
@@ -2749,11 +2754,6 @@
flag_descriptions::kEnableWebPaymentsMethodSectionOrderV2Description,
kOsAndroid,
FEATURE_VALUE_TYPE(payments::features::kWebPaymentsMethodSectionOrderV2)},
- {"enable-web-payments-single-app-ui-skip",
- flag_descriptions::kEnableWebPaymentsSingleAppUiSkipName,
- flag_descriptions::kEnableWebPaymentsSingleAppUiSkipDescription,
- kOsAndroid,
- FEATURE_VALUE_TYPE(chrome::android::kWebPaymentsSingleAppUiSkip)},
{"android-payment-apps", flag_descriptions::kAndroidPaymentAppsName,
flag_descriptions::kAndroidPaymentAppsDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kAndroidPaymentApps)},