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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java

Issue 1323993002: Remove migrateNetworkPredictionPreferences(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PREF_NETWORK_PREDICTIONS. Created 5 years, 3 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
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
index 7d59b9205e85a923f31507f2a444979a9ee8dbb6..6988a3891e6c5dec0de084b053cfb2408f0328c0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
@@ -568,30 +568,6 @@ public final class PrefServiceBridge {
}
/**
- * @return whether there is a user set value for kNetworkPredictionEnabled. This should only be
- * used for preference migration.
- */
- public boolean networkPredictionEnabledHasUserSetting() {
- return nativeNetworkPredictionEnabledHasUserSetting();
- }
-
- /**
- * @return whether there is a user set value for kNetworkPredictionOptions. This should only be
- * used for preference migration.
- */
- public boolean networkPredictionOptionsHasUserSetting() {
- return nativeNetworkPredictionOptionsHasUserSetting();
- }
-
- /**
- * @return the user set value for kNetworkPredictionEnabled. This should only be used for
- * preference migration.
- */
- public boolean getNetworkPredictionEnabledUserPrefValue() {
- return nativeGetNetworkPredictionEnabledUserPrefValue();
- }
-
- /**
* @return Network predictions preference.
*/
public NetworkPredictionOptions getNetworkPredictionOptions() {
@@ -1044,9 +1020,6 @@ public final class PrefServiceBridge {
private native void nativeSetSafeBrowsingEnabled(boolean enabled);
private native boolean nativeGetSafeBrowsingManaged();
private native boolean nativeGetNetworkPredictionManaged();
- private native boolean nativeNetworkPredictionEnabledHasUserSetting();
- private native boolean nativeNetworkPredictionOptionsHasUserSetting();
- private native boolean nativeGetNetworkPredictionEnabledUserPrefValue();
private native int nativeGetNetworkPredictionOptions();
private native void nativeSetNetworkPredictionOptions(int option);
private native void nativeSetResolveNavigationErrorEnabled(boolean enabled);

Powered by Google App Engine
This is Rietveld 408576698