[webnfc] Add WebNFC feature flag

Desktop / Chromium - alexander.shalamov [intel.com] - 20 April 2017 09:32 EDT

This CL adds WebNFC feature flag, so that API access can be controlled separately from other experimental web platform features. This would enable feature control during origin-trial process.

BUG=520391

Review-Url: https://codereview.chromium.org/2830643002 Cr-Commit-Position: refs/heads/master@{#465992}

588eca4 [webnfc] Add WebNFC feature flag
chrome/browser/about_flags.cc | 6 ++++++
chrome/browser/flag_descriptions.cc | 4 ++++
chrome/browser/flag_descriptions.h | 6 ++++++
content/browser/android/content_feature_list.cc | 3 ++-
content/child/runtime_features.cc | 5 +++++
.../java/src/org/chromium/content/browser/ContentFeatureList.java | 1 +
.../src/org/chromium/content/browser/InterfaceRegistrarImpl.java | 4 +++-
content/public/common/content_features.cc | 8 +++++++-
content/public/common/content_features.h | 1 +
third_party/WebKit/Source/web/WebRuntimeFeatures.cpp | 4 ++++
third_party/WebKit/public/web/WebRuntimeFeatures.h | 1 +
tools/metrics/histograms/histograms.xml | 2 ++
12 files changed, 42 insertions(+), 3 deletions(-)

Upstream: git.chromium.org


  • Share