Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: chrome/browser/ui/webui/options/password_manager_handler.h

Issue 28713002: [Mac] Add option to reauthenticate the OS user before revealing passwords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Mac headers from common file. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698