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

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

Issue 978913004: Add auto sign in slider in Clank settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/password/ManageSavedPasswordsPreferences.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/password/ManageSavedPasswordsPreferences.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698