| 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 57df391dc04b5f57ddb2bd2dcc541c0b2cd37a86..592b02fbe8aee7baaad855174dcaed044b048549 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
|
| @@ -188,6 +188,10 @@ public final class PrefServiceBridge {
|
| return nativeGetRememberPasswordsEnabled();
|
| }
|
|
|
| + public boolean isPasswordManagerAutoSigninEnabled() {
|
| + return nativeGetPasswordManagerAutoSigninEnabled();
|
| + }
|
| +
|
| /**
|
| * @return whether password storage is configured by policy
|
| */
|
| @@ -195,6 +199,10 @@ public final class PrefServiceBridge {
|
| return nativeGetRememberPasswordsManaged();
|
| }
|
|
|
| + public boolean isPasswordManagerAutoSigninManaged() {
|
| + return nativeGetPasswordManagerAutoSigninManaged();
|
| + }
|
| +
|
| /**
|
| * @return whether push notifications are enabled.
|
| */
|
| @@ -535,6 +543,10 @@ public final class PrefServiceBridge {
|
| nativeSetRememberPasswordsEnabled(allow);
|
| }
|
|
|
| + public void setPasswordManagerAutoSigninEnabled(boolean enabled) {
|
| + nativeSetPasswordManagerAutoSigninEnabled(enabled);
|
| + }
|
| +
|
| public void setPushNotificationsEnabled(boolean allow) {
|
| nativeSetPushNotificationsEnabled(allow);
|
| }
|
| @@ -766,7 +778,9 @@ public final class PrefServiceBridge {
|
| private native boolean nativeGetBlockThirdPartyCookiesEnabled();
|
| private native boolean nativeGetBlockThirdPartyCookiesManaged();
|
| private native boolean nativeGetRememberPasswordsEnabled();
|
| + private native boolean nativeGetPasswordManagerAutoSigninEnabled();
|
| private native boolean nativeGetRememberPasswordsManaged();
|
| + private native boolean nativeGetPasswordManagerAutoSigninManaged();
|
| private native boolean nativeGetAllowLocationUserModifiable();
|
| private native boolean nativeGetAllowLocationManagedByCustodian();
|
| private native boolean nativeGetDoNotTrackEnabled();
|
| @@ -799,6 +813,7 @@ public final class PrefServiceBridge {
|
| private native void nativeSetBlockThirdPartyCookiesEnabled(boolean enabled);
|
| private native void nativeSetDoNotTrackEnabled(boolean enabled);
|
| private native void nativeSetRememberPasswordsEnabled(boolean allow);
|
| + private native void nativeSetPasswordManagerAutoSigninEnabled(boolean enabled);
|
| private native void nativeSetProtectedMediaIdentifierEnabled(boolean enabled);
|
| private native boolean nativeGetAllowLocationEnabled();
|
| private native boolean nativeGetPushNotificationsEnabled();
|
|
|