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

Unified Diff: content/child/runtime_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
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 8eb5b2ef5d7d33aca925a84e22a9792cb0b2e1c1..29608e5b54d78a8dc05797cfb10ca95c0221d2b3 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -328,10 +328,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
#if defined(OS_ANDROID)
if (command_line.HasSwitch(switches::kDisableMediaSessionAPI))
WebRuntimeFeatures::EnableMediaSession(false);
+#endif
WebRuntimeFeatures::EnablePaymentRequest(
base::FeatureList::IsEnabled(features::kWebPayments));
-#endif
WebRuntimeFeatures::EnableServiceWorkerNavigationPreload(
base::FeatureList::IsEnabled(features::kServiceWorkerNavigationPreload));
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_browsertest_base.cc ('k') | content/public/common/content_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698