Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / password_manager / core / common / password_manager_pref_names.cc
index 65b074c..39fac88 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "components/password_manager/core/common/password_manager_pref_names.h"
 
+namespace password_manager {
+
 namespace prefs {
 
 #if defined(OS_WIN)
@@ -21,9 +23,13 @@ const char kOsPasswordLastChanged[] =
 const char kPasswordManagerAllowShowPasswords[] =
     "profile.password_manager_allow_show_passwords";
 
-// Boolean that is true if the password manager is on (will record new
-// passwords and fill in known passwords).
-const char kPasswordManagerEnabled[] = "profile.password_manager_enabled";
+// Boolean that is true if password saving is on (will record new
+// passwords and fill in known passwords). When it is false, it doesn't
+// ask if you want to save passwords but will continue to fill passwords.
+// Constant name and its value differ because of historical reasons as it
+// was not deemed important enough to add migration code just for name change.
+// See http://crbug.com/392387
+const char kPasswordManagerSavingEnabled[] = "profile.password_manager_enabled";
 
 // A list of numbers. Each number corresponds to one of the domains monitored
 // for save-password-prompt breakages. That number is a random index into
@@ -35,11 +41,8 @@ const char kPasswordManagerGroupsForDomains[] =
 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
 // The local profile id for this profile.
 const char kLocalProfileId[] = "profile.local_profile_id";
-
-// Whether passwords in external services (e.g. GNOME Keyring) have been tagged
-// with the local profile id yet. (Used for migrating to tagged passwords.)
-const char kPasswordsUseLocalProfileId[] =
-    "profile.passwords_use_local_profile_id";
 #endif
 
 }  // namespace prefs
+
+}  // namespace password_manager