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

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

Issue 2526293003: PaymentApp: Add classes for supporting Web Based Payment Apps (Closed)
Patch Set: Make the service worker unittests work even with the feature flag off Created 4 years 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') | no next file » | 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 #if defined(OS_ANDROID) 240 #if defined(OS_ANDROID)
241 // Use IME's own thread instead of using main UI thread. It also means that 241 // Use IME's own thread instead of using main UI thread. It also means that
242 // we will not use replica editor and do a round trip to renderer to synchronize 242 // we will not use replica editor and do a round trip to renderer to synchronize
243 // with Blink data. 243 // with Blink data.
244 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT}; 244 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT};
245 245
246 // FeatureList definition for the Seccomp field trial. 246 // FeatureList definition for the Seccomp field trial.
247 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 247 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
248 base::FEATURE_DISABLED_BY_DEFAULT}; 248 base::FEATURE_DISABLED_BY_DEFAULT};
249 249
250 // Service worker based payment apps as defined by w3c here:
251 // https://w3c.github.io/webpayments-payment-apps-api/
252 const base::Feature kServiceWorkerPaymentApps{
253 "ServiceWorkerPaymentApps",
254 base::FEATURE_DISABLED_BY_DEFAULT};
255
250 // The JavaScript API for payments on the web. 256 // The JavaScript API for payments on the web.
251 const base::Feature kWebPayments{"WebPayments", 257 const base::Feature kWebPayments{"WebPayments",
252 base::FEATURE_ENABLED_BY_DEFAULT}; 258 base::FEATURE_ENABLED_BY_DEFAULT};
253 259
254 #endif 260 #endif
255 261
256 #if defined(OS_WIN) 262 #if defined(OS_WIN)
257 // Emergency "off switch" for new Windows sandbox security mitigation, 263 // Emergency "off switch" for new Windows sandbox security mitigation,
258 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 264 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
259 const base::Feature kWinSboxDisableExtensionPoints{ 265 const base::Feature kWinSboxDisableExtensionPoints{
260 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 266 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
261 #endif 267 #endif
262 268
263 } // namespace features 269 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698