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

Side by Side Diff: chrome/browser/ui/passwords/password_manager_presenter.h

Issue 1846623002: Remove password-manager-reauthentication flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebased Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // Password store consumer for populating the password list and exceptions. 131 // Password store consumer for populating the password list and exceptions.
132 PasswordListPopulater populater_; 132 PasswordListPopulater populater_;
133 PasswordExceptionListPopulater exception_populater_; 133 PasswordExceptionListPopulater exception_populater_;
134 134
135 std::vector<scoped_ptr<autofill::PasswordForm>> password_list_; 135 std::vector<scoped_ptr<autofill::PasswordForm>> password_list_;
136 std::vector<scoped_ptr<autofill::PasswordForm>> password_exception_list_; 136 std::vector<scoped_ptr<autofill::PasswordForm>> password_exception_list_;
137 DuplicatesMap password_duplicates_; 137 DuplicatesMap password_duplicates_;
138 DuplicatesMap password_exception_duplicates_; 138 DuplicatesMap password_exception_duplicates_;
139 139
140 // Whether to show stored passwords or not.
141 BooleanPrefMember show_passwords_;
142
143 // Indicates whether or not the password manager should require the user to
144 // reauthenticate before revealing plaintext passwords.
145 const bool require_reauthentication_;
146
147 // The last time the user was successfully authenticated. 140 // The last time the user was successfully authenticated.
148 // Used to determine whether or not to reveal plaintext passwords. 141 // Used to determine whether or not to reveal plaintext passwords.
149 base::TimeTicks last_authentication_time_; 142 base::TimeTicks last_authentication_time_;
150 143
151 // UI view that owns this presenter. 144 // UI view that owns this presenter.
152 PasswordUIView* password_view_; 145 PasswordUIView* password_view_;
153 146
154 // User pref for storing accept languages. 147 // User pref for storing accept languages.
155 std::string languages_; 148 std::string languages_;
156 149
157 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); 150 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter);
158 }; 151 };
159 152
160 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 153 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698