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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentFeatureList.java

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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 package org.chromium.content.browser; 5 package org.chromium.content.browser;
6 6
7 import org.chromium.base.annotations.JNINamespace; 7 import org.chromium.base.annotations.JNINamespace;
8 import org.chromium.base.annotations.MainDex; 8 import org.chromium.base.annotations.MainDex;
9 9
10 /** 10 /**
(...skipping 13 matching lines...) Expand all
24 * 24 *
25 * @param featureName The name of the feature to query. 25 * @param featureName The name of the feature to query.
26 * @return Whether the feature is enabled or not. 26 * @return Whether the feature is enabled or not.
27 */ 27 */
28 public static boolean isEnabled(String featureName) { 28 public static boolean isEnabled(String featureName) {
29 return nativeIsEnabled(featureName); 29 return nativeIsEnabled(featureName);
30 } 30 }
31 31
32 // Alphabetical: 32 // Alphabetical:
33 public static final String REQUEST_UNBUFFERED_DISPATCH = "RequestUnbufferedD ispatch"; 33 public static final String REQUEST_UNBUFFERED_DISPATCH = "RequestUnbufferedD ispatch";
34 public static final String WEB_NFC = "WebNFC";
34 35
35 private static native boolean nativeIsEnabled(String featureName); 36 private static native boolean nativeIsEnabled(String featureName);
36 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698