1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "components/password_manager/core/common/password_manager_pref_names.h" 6 7namespace password_manager { 8 9namespace prefs { 10 11#if defined(OS_WIN) 12// Whether the password was blank, only valid if OS password was last changed 13// on or before the value contained in kOsPasswordLastChanged. 14const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 15 16// The number of seconds since epoch that the OS password was last changed. 17const char kOsPasswordLastChanged[] = 18 "password_manager.os_password_last_changed"; 19#endif 20 21// Boolean controlling whether the password manager allows to retrieve passwords 22// in clear text. 23const char kPasswordManagerAllowShowPasswords[] = 24 "profile.password_manager_allow_show_passwords"; 25 26// Boolean that is true if password saving is on (will record new 27// passwords and fill in known passwords). When it is false, it doesn't 28// ask if you want to save passwords but will continue to fill passwords. 29// Constant name and its value differ because of historical reasons as it 30// was not deemed important enough to add migration code just for name change. 31// See http://crbug.com/392387 32const char kPasswordManagerSavingEnabled[] = "profile.password_manager_enabled"; 33 34// A list of numbers. Each number corresponds to one of the domains monitored 35// for save-password-prompt breakages. That number is a random index into 36// the array of groups containing the monitored domain. That group should be 37// used for reporting that domain. 38const char kPasswordManagerGroupsForDomains[] = 39 "profile.password_manager_groups_for_domains"; 40 41#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) 42// The local profile id for this profile. 43const char kLocalProfileId[] = "profile.local_profile_id"; 44#endif 45 46} // namespace prefs 47 48} // namespace password_manager 49