Home | History | Annotate | Download | only in common
      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 
      7 namespace password_manager {
      8 
      9 namespace 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.
     14 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
     15 
     16 // The number of seconds since epoch that the OS password was last changed.
     17 const 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.
     23 const char kPasswordManagerAllowShowPasswords[] =
     24     "profile.password_manager_allow_show_passwords";
     25 
     26 // Boolean that is true if the password manager is on (will record new
     27 // passwords and fill in known passwords).
     28 const char kPasswordManagerEnabled[] = "profile.password_manager_enabled";
     29 
     30 // A list of numbers. Each number corresponds to one of the domains monitored
     31 // for save-password-prompt breakages. That number is a random index into
     32 // the array of groups containing the monitored domain. That group should be
     33 // used for reporting that domain.
     34 const char kPasswordManagerGroupsForDomains[] =
     35     "profile.password_manager_groups_for_domains";
     36 
     37 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
     38 // The local profile id for this profile.
     39 const char kLocalProfileId[] = "profile.local_profile_id";
     40 #endif
     41 
     42 }  // namespace prefs
     43 
     44 }  // namespace password_manager
     45