Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9459)

Unified Diff: content/public/common/content_features.cc

Issue 2855923002: [Payments] Desktop: enable the Payment Request integration by default (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/runtime_features.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 2bd44e0a335b35f7fd5ed347cdcca26a92390d87..f187d41fe110d084856440dd281539177e7e865c 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -256,6 +256,10 @@ const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming",
const base::Feature kWebGLImageChromium{"WebGLImageChromium",
base::FEATURE_ENABLED_BY_DEFAULT};
+// The JavaScript API for payments on the web.
+const base::Feature kWebPayments{"WebPayments",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+
// Makes WebRTC use ECDSA certs by default (i.e., when no cert type was
// specified in JS).
const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
@@ -319,21 +323,11 @@ const base::Feature kServiceWorkerPaymentApps{
"ServiceWorkerPaymentApps",
base::FEATURE_DISABLED_BY_DEFAULT};
-// The JavaScript API for payments on the web.
-const base::Feature kWebPayments{"WebPayments",
- base::FEATURE_ENABLED_BY_DEFAULT};
-
// Controls whether the WebNFC API is enabled:
// https://w3c.github.io/web-nfc/
const base::Feature kWebNfc{"WebNFC", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
-#if !defined(OS_ANDROID)
-// The JavaScript API for payments on the web.
-const base::Feature kWebPayments{"WebPayments",
- base::FEATURE_DISABLED_BY_DEFAULT};
-#endif
-
#if defined(OS_WIN)
// Emergency "off switch" for new Windows sandbox security mitigation,
// sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
« no previous file with comments | « content/child/runtime_features.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698