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

Unified Diff: content/browser/android/content_feature_list.cc

Issue 2830643002: [webnfc] Add WebNFC feature flag (Closed)
Patch Set: Rebased to master 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
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_feature_list.cc
diff --git a/content/browser/android/content_feature_list.cc b/content/browser/android/content_feature_list.cc
index c184a48a684783e3b55a8cbf1c8c531e6aaef933..973447703b96a4179239db8afb4243222162afb1 100644
--- a/content/browser/android/content_feature_list.cc
+++ b/content/browser/android/content_feature_list.cc
@@ -7,6 +7,7 @@
#include "base/android/jni_string.h"
#include "base/feature_list.h"
#include "base/macros.h"
+#include "content/public/common/content_features.h"
#include "jni/ContentFeatureList_jni.h"
using base::android::ConvertJavaStringToUTF8;
@@ -21,7 +22,7 @@ namespace {
// this array may either refer to features defined in the header of this file or
// in other locations in the code base (e.g. content_features.h).
const base::Feature* kFeaturesExposedToJava[] = {
- &kRequestUnbufferedDispatch,
+ &kRequestUnbufferedDispatch, &features::kWebNfc,
};
const base::Feature* FindFeatureExposedToJava(const std::string& feature_name) {
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698