| Index: content/public/android/java/src/org/chromium/content/browser/ContentFeatureList.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java b/content/public/android/java/src/org/chromium/content/browser/ContentFeatureList.java
|
| similarity index 68%
|
| copy from chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
|
| copy to content/public/android/java/src/org/chromium/content/browser/ContentFeatureList.java
|
| index 0980e29ebea82502058778fc4b022416c7dcc77e..468604d50bbfe58da5686cc2c1086ac12566794b 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentFeatureList.java
|
| @@ -2,25 +2,25 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -package org.chromium.chrome.browser;
|
| +package org.chromium.content.browser;
|
|
|
| import org.chromium.base.annotations.JNINamespace;
|
| import org.chromium.base.annotations.MainDex;
|
|
|
| /**
|
| - * Java accessor for base/feature_list.h state.
|
| + * Java accessor for base/feature_list.h state and content-level features.
|
| */
|
| -@JNINamespace("chrome::android")
|
| +@JNINamespace("content")
|
| @MainDex
|
| -public abstract class ChromeFeatureList {
|
| +public abstract class ContentFeatureList {
|
| // Prevent instantiation.
|
| - private ChromeFeatureList() {}
|
| + private ContentFeatureList() {}
|
|
|
| /**
|
| * Returns whether the specified feature is enabled or not.
|
| *
|
| * Note: Features queried through this API must be added to the array
|
| - * |kFeaturesExposedToJava| in chrome/browser/android/chrome_feature_list.cc
|
| + * |kFeaturesExposedToJava| in content/browser/android/content_feature_list.cc
|
| *
|
| * @param featureName The name of the feature to query.
|
| * @return Whether the feature is enabled or not.
|
| @@ -29,7 +29,7 @@ public abstract class ChromeFeatureList {
|
| return nativeIsEnabled(featureName);
|
| }
|
|
|
| - public static final String NTP_SNIPPETS = "NTPSnippets";
|
| + public static final String IME_THREAD = "ImeThread";
|
|
|
| private static native boolean nativeIsEnabled(String featureName);
|
| }
|
|
|