| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 ScopedVector<autofill::PasswordForm> password_list_; | 117 ScopedVector<autofill::PasswordForm> password_list_; |
| 118 ScopedVector<autofill::PasswordForm> password_exception_list_; | 118 ScopedVector<autofill::PasswordForm> password_exception_list_; |
| 119 | 119 |
| 120 // User's pref | 120 // User's pref |
| 121 std::string languages_; | 121 std::string languages_; |
| 122 | 122 |
| 123 // Whether to show stored passwords or not. | 123 // Whether to show stored passwords or not. |
| 124 BooleanPrefMember show_passwords_; | 124 BooleanPrefMember show_passwords_; |
| 125 | 125 |
| 126 // Indicates whether or not the password manager should require the user to |
| 127 // reauthenticate before revealing plaintext passwords. |
| 128 bool require_reauthentication_; |
| 129 |
| 126 // Indicates whether or not the user has recently been authenticated. | 130 // Indicates whether or not the user has recently been authenticated. |
| 127 // Used to determine whether or not to reveal plain text passwords. | 131 // Used to determine whether or not to reveal plaintext passwords. |
| 128 bool is_user_authenticated_; | 132 bool is_user_authenticated_; |
| 129 | 133 |
| 130 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); | 134 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); |
| 131 }; | 135 }; |
| 132 | 136 |
| 133 } // namespace options | 137 } // namespace options |
| 134 | 138 |
| 135 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 139 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| OLD | NEW |