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

Unified Diff: chrome/browser/android/preferences/pref_service_bridge.cc

Issue 2693373004: Use Smart Lock preference instead of Chrome Password manager preference. (Closed)
Patch Set: Created 3 years, 10 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/browser/extensions/api/preference/preference_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/preferences/pref_service_bridge.cc
diff --git a/chrome/browser/android/preferences/pref_service_bridge.cc b/chrome/browser/android/preferences/pref_service_bridge.cc
index 5c448a7fe24ba611d000bc45528fc399ff68c31e..ac2196c4647957e79f2d059db1c1dae90e294408 100644
--- a/chrome/browser/android/preferences/pref_service_bridge.cc
+++ b/chrome/browser/android/preferences/pref_service_bridge.cc
@@ -240,7 +240,7 @@ static jboolean GetBlockThirdPartyCookiesManaged(
static jboolean GetRememberPasswordsEnabled(JNIEnv* env,
const JavaParamRef<jobject>& obj) {
return GetPrefService()->GetBoolean(
- password_manager::prefs::kPasswordManagerSavingEnabled);
+ password_manager::prefs::kCredentialsEnableService);
}
static jboolean GetPasswordManagerAutoSigninEnabled(
@@ -253,7 +253,7 @@ static jboolean GetPasswordManagerAutoSigninEnabled(
static jboolean GetRememberPasswordsManaged(JNIEnv* env,
const JavaParamRef<jobject>& obj) {
return GetPrefService()->IsManagedPreference(
- password_manager::prefs::kPasswordManagerSavingEnabled);
+ password_manager::prefs::kCredentialsEnableService);
}
static jboolean GetPasswordManagerAutoSigninManaged(
@@ -825,7 +825,7 @@ static void SetRememberPasswordsEnabled(JNIEnv* env,
const JavaParamRef<jobject>& obj,
jboolean allow) {
GetPrefService()->SetBoolean(
- password_manager::prefs::kPasswordManagerSavingEnabled, allow);
+ password_manager::prefs::kCredentialsEnableService, allow);
}
static void SetPasswordManagerAutoSigninEnabled(
« no previous file with comments | « no previous file | chrome/browser/extensions/api/preference/preference_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698