| 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 63d6df5d9c3f85ee11158695573f565564f4512e..30660966d283eb1a5e2d4f8c44d7a82536c6dd5d 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.
|
| */
|
| @@ -542,6 +550,10 @@ public final class PrefServiceBridge {
|
| nativeSetRememberPasswordsEnabled(allow);
|
| }
|
|
|
| + public void setPasswordManagerAutoSigninEnabled(boolean enabled) {
|
| + nativeSetPasswordManagerAutoSigninEnabled(enabled);
|
| + }
|
| +
|
| public void setPushNotificationsEnabled(boolean allow) {
|
| nativeSetPushNotificationsEnabled(allow);
|
| }
|
| @@ -773,7 +785,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();
|
| @@ -807,6 +821,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();
|
|
|