| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace password_manager { | 10 namespace password_manager { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
| 30 // Whether the password was blank, only valid if OS password was last changed | 30 // Whether the password was blank, only valid if OS password was last changed |
| 31 // on or before the value contained in kOsPasswordLastChanged. | 31 // on or before the value contained in kOsPasswordLastChanged. |
| 32 extern const char kOsPasswordBlank[]; | 32 extern const char kOsPasswordBlank[]; |
| 33 | 33 |
| 34 // The number of seconds since epoch that the OS password was last changed. | 34 // The number of seconds since epoch that the OS password was last changed. |
| 35 extern const char kOsPasswordLastChanged[]; | 35 extern const char kOsPasswordLastChanged[]; |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #if defined(OS_MACOSX) |
| 39 // The current status of migrating the passwords from the Keychain to the |
| 40 // database. Stores a value from MigrationStatus. |
| 41 extern const char kKeychainMigrationStatus[]; |
| 42 #endif |
| 43 |
| 38 // Boolean controlling whether the password manager allows to retrieve passwords | 44 // Boolean controlling whether the password manager allows to retrieve passwords |
| 39 // in clear text. | 45 // in clear text. |
| 40 extern const char kPasswordManagerAllowShowPasswords[]; | 46 extern const char kPasswordManagerAllowShowPasswords[]; |
| 41 | 47 |
| 42 // Boolean controlling whether the password manager allows automatic signing in | 48 // Boolean controlling whether the password manager allows automatic signing in |
| 43 // through Credential Manager API. | 49 // through Credential Manager API. |
| 44 extern const char kPasswordManagerAutoSignin[]; | 50 extern const char kPasswordManagerAutoSignin[]; |
| 45 | 51 |
| 46 // Boolean that is true if password saving is on (will record new | 52 // Boolean that is true if password saving is on (will record new |
| 47 // passwords and fill in known passwords). When it is false, it doesn't | 53 // passwords and fill in known passwords). When it is false, it doesn't |
| 48 // ask if you want to save passwords but will continue to fill passwords. | 54 // ask if you want to save passwords but will continue to fill passwords. |
| 49 // Constant name and its value differ because of historical reasons as it | 55 // Constant name and its value differ because of historical reasons as it |
| 50 // was not deemed important enough to add migration code just for name | 56 // was not deemed important enough to add migration code just for name |
| 51 // change. | 57 // change. |
| 52 // See http://crbug.com/392387 | 58 // See http://crbug.com/392387 |
| 53 extern const char kPasswordManagerSavingEnabled[]; | 59 extern const char kPasswordManagerSavingEnabled[]; |
| 54 | 60 |
| 55 // A list of numbers. Each number corresponds to one of the domains monitored | 61 // A list of numbers. Each number corresponds to one of the domains monitored |
| 56 // for save-password-prompt breakages. That number is a random index into | 62 // for save-password-prompt breakages. That number is a random index into |
| 57 // the array of groups containing the monitored domain. That group should be | 63 // the array of groups containing the monitored domain. That group should be |
| 58 // used for reporting that domain. | 64 // used for reporting that domain. |
| 59 extern const char kPasswordManagerGroupsForDomains[]; | 65 extern const char kPasswordManagerGroupsForDomains[]; |
| 60 | 66 |
| 61 } // namespace prefs | 67 } // namespace prefs |
| 62 } // namespace password_manager | 68 } // namespace password_manager |
| 63 | 69 |
| 64 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H
_ | 70 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_PREF_NAMES_H
_ |
| OLD | NEW |