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

Unified Diff: content/child/runtime_features.cc

Issue 2715013002: [Payments] Put Web Payments feature on desktop behind flag (Closed)
Patch Set: Initial Created 3 years, 10 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 c2ac56ca6d5317ca7e161712793224fe40b04cfc..6bd1f2a86e962f79515973590f387180e2d08290 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -319,10 +319,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
#if defined(OS_ANDROID)
if (command_line.HasSwitch(switches::kDisableMediaSessionAPI))
WebRuntimeFeatures::enableMediaSession(false);
+#endif
please use gerrit instead 2017/02/27 15:56:17 I don't think this change is necessary. It's hard
Mathieu 2017/02/27 18:05:51 Unh. You're right. This is mysterious to me :)
WebRuntimeFeatures::enablePaymentRequest(
base::FeatureList::IsEnabled(features::kWebPayments));
-#endif
// Sets the RuntimeEnabledFeatures for Navigation Preload feature only when
// '--enable-features' command line flag is given. While experimenting this
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698