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

Unified Diff: components/password_manager/core/common/password_manager_pref_names.h

Issue 1256803002: [Smart Lock, Prefs reconciliation] Prefs migration logic for desktop platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/password_manager/core/common/password_manager_pref_names.h
diff --git a/components/password_manager/core/common/password_manager_pref_names.h b/components/password_manager/core/common/password_manager_pref_names.h
index f875e0161d91eee4647cdbc04ac9502d28256c7f..589b9fb3d53ce9fd0eda5a9a1c5857d7cc6e931e 100644
--- a/components/password_manager/core/common/password_manager_pref_names.h
+++ b/components/password_manager/core/common/password_manager_pref_names.h
@@ -21,6 +21,15 @@ extern const char kAllowToCollectURLBubbleWasShown[];
// period, in which the "Allow to collect URL?" bubble can be shown.
extern const char kAllowToCollectURLBubbleActivePeriodStartFactor[];
+// The value of this preference controls whether the Password Manager will save
+// credentials. When it is false, it doesn't ask if you want to save passwords
+// but will continue to fill passwords. This preference in a future will
+// substitute kPasswordManagerSavingEnabled, currently it's required that values
+// of these two preference are in sync with each other.
+// TODO(melandory): Preference should also control autofill behavior for the
+// passwords.
+extern const char kCredentialsEnableService[];
+
#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
// The local profile id for this profile.
extern const char kLocalProfileId[];

Powered by Google App Engine
This is Rietveld 408576698