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

Side by Side Diff: content/public/common/content_features.cc

Issue 2715013002: [Payments] Put Web Payments feature on desktop behind flag (Closed)
Patch Set: untouch runtime_features file Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // Service worker based payment apps as defined by w3c here: 280 // Service worker based payment apps as defined by w3c here:
281 // https://w3c.github.io/webpayments-payment-apps-api/ 281 // https://w3c.github.io/webpayments-payment-apps-api/
282 const base::Feature kServiceWorkerPaymentApps{ 282 const base::Feature kServiceWorkerPaymentApps{
283 "ServiceWorkerPaymentApps", 283 "ServiceWorkerPaymentApps",
284 base::FEATURE_DISABLED_BY_DEFAULT}; 284 base::FEATURE_DISABLED_BY_DEFAULT};
285 285
286 // The JavaScript API for payments on the web. 286 // The JavaScript API for payments on the web.
287 const base::Feature kWebPayments{"WebPayments", 287 const base::Feature kWebPayments{"WebPayments",
288 base::FEATURE_ENABLED_BY_DEFAULT}; 288 base::FEATURE_ENABLED_BY_DEFAULT};
289 289 #else
290 // The JavaScript API for payments on the web.
291 const base::Feature kWebPayments{"WebPayments",
292 base::FEATURE_DISABLED_BY_DEFAULT};
290 #endif 293 #endif
291 294
292 #if !defined(OS_ANDROID) 295 #if !defined(OS_ANDROID)
293 // Controls whether media playback in cross-origin iframes is enabled. The 296 // Controls whether media playback in cross-origin iframes is enabled. The
294 // feature overrides |kDisableGestureRequirementForMediaPlayback|. 297 // feature overrides |kDisableGestureRequirementForMediaPlayback|.
295 const base::Feature kCrossOriginMediaPlaybackRequiresUserGesture{ 298 const base::Feature kCrossOriginMediaPlaybackRequiresUserGesture{
296 "CrossOriginMediaPlaybackRequiresUserGesture", 299 "CrossOriginMediaPlaybackRequiresUserGesture",
297 base::FEATURE_DISABLED_BY_DEFAULT}; 300 base::FEATURE_DISABLED_BY_DEFAULT};
298 #endif // !defined(OS_ANDROID) 301 #endif // !defined(OS_ANDROID)
299 302
300 #if defined(OS_WIN) 303 #if defined(OS_WIN)
301 // Emergency "off switch" for new Windows sandbox security mitigation, 304 // Emergency "off switch" for new Windows sandbox security mitigation,
302 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 305 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
303 const base::Feature kWinSboxDisableExtensionPoints{ 306 const base::Feature kWinSboxDisableExtensionPoints{
304 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 307 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
305 #endif 308 #endif
306 309
307 } // namespace features 310 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698