| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
|
| index 01f9c8d568d2f9e5bb1f0414ad2c3d57e60910d3..d1ef227950a2a598f09cb4512a56f7cbc3e02b42 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
|
| @@ -88,20 +88,20 @@ public static void fetchRemoteSuggestionsFromBackground() {
|
| nativeRemoteSuggestionsSchedulerOnFetchDue();
|
| }
|
|
|
| - public static void setRemoteSuggestionsServiceEnabled(boolean enabled) {
|
| - nativeSetRemoteSuggestionsServiceEnabled(enabled);
|
| + public static void setRemoteSuggestionsEnabled(boolean enabled) {
|
| + nativeSetRemoteSuggestionsEnabled(enabled);
|
| }
|
|
|
| - public static boolean isRemoteSuggestionsServiceEnabled() {
|
| - return nativeIsRemoteSuggestionsServiceEnabled();
|
| + public static boolean areRemoteSuggestionsEnabled() {
|
| + return nativeAreRemoteSuggestionsEnabled();
|
| }
|
|
|
| - public static boolean isRemoteSuggestionsServiceManaged() {
|
| - return nativeIsRemoteSuggestionsServiceManaged();
|
| + public static boolean areRemoteSuggestionsManaged() {
|
| + return nativeAreRemoteSuggestionsManaged();
|
| }
|
|
|
| - public static boolean isRemoteSuggestionsServiceManagedByCustodian() {
|
| - return nativeIsRemoteSuggestionsServiceManagedByCustodian();
|
| + public static boolean areRemoteSuggestionsManagedByCustodian() {
|
| + return nativeAreRemoteSuggestionsManagedByCustodian();
|
| }
|
|
|
| public static void setContentSuggestionsNotificationsEnabled(boolean enabled) {
|
| @@ -361,10 +361,10 @@ private void onFullRefreshRequired() {
|
| private native void nativeReloadSuggestions(long nativeNTPSnippetsBridge);
|
| private static native void nativeRemoteSuggestionsSchedulerOnFetchDue();
|
| private static native void nativeRemoteSuggestionsSchedulerRescheduleFetching();
|
| - private static native void nativeSetRemoteSuggestionsServiceEnabled(boolean enabled);
|
| - private static native boolean nativeIsRemoteSuggestionsServiceEnabled();
|
| - private static native boolean nativeIsRemoteSuggestionsServiceManaged();
|
| - private static native boolean nativeIsRemoteSuggestionsServiceManagedByCustodian();
|
| + private static native void nativeSetRemoteSuggestionsEnabled(boolean enabled);
|
| + private static native boolean nativeAreRemoteSuggestionsEnabled();
|
| + private static native boolean nativeAreRemoteSuggestionsManaged();
|
| + private static native boolean nativeAreRemoteSuggestionsManagedByCustodian();
|
| private static native void nativeSetContentSuggestionsNotificationsEnabled(boolean enabled);
|
| private static native boolean nativeAreContentSuggestionsNotificationsEnabled();
|
| private native int[] nativeGetCategories(long nativeNTPSnippetsBridge);
|
|
|