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

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

Issue 2830643002: [webnfc] Add WebNFC feature flag (Closed)
Patch Set: Add flags to histograms.xml 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/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 1436426c834edee4716410d64a9562265bcf5ca5..0bcfaf9b0772dfce1ce664abd25c1351b82077d7 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -295,6 +295,10 @@ const base::Feature kServiceWorkerPaymentApps{
// 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};
#else
Alexei Svitkine (slow) 2017/04/19 16:43:52 Nit: Add // !defined(OS_ANDROID)
shalamov 2017/04/20 07:30:00 Done.
// The JavaScript API for payments on the web.
const base::Feature kWebPayments{"WebPayments",

Powered by Google App Engine
This is Rietveld 408576698