OLD | NEW |
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> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/scoped_vector.h" | |
17 #include "components/password_manager/core/browser/password_store.h" | 16 #include "components/password_manager/core/browser/password_store.h" |
18 #include "components/password_manager/core/browser/password_store_consumer.h" | 17 #include "components/password_manager/core/browser/password_store_consumer.h" |
19 #include "components/prefs/pref_member.h" | 18 #include "components/prefs/pref_member.h" |
20 #include "ui/shell_dialogs/select_file_dialog.h" | 19 #include "ui/shell_dialogs/select_file_dialog.h" |
21 | 20 |
22 namespace autofill { | 21 namespace autofill { |
23 struct PasswordForm; | 22 struct PasswordForm; |
24 } | 23 } |
25 | 24 |
26 // Multimap from sort key to password forms. | 25 // Multimap from sort key to password forms. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // Used to determine whether or not to reveal plaintext passwords. | 149 // Used to determine whether or not to reveal plaintext passwords. |
151 base::TimeTicks last_authentication_time_; | 150 base::TimeTicks last_authentication_time_; |
152 | 151 |
153 // UI view that owns this presenter. | 152 // UI view that owns this presenter. |
154 PasswordUIView* password_view_; | 153 PasswordUIView* password_view_; |
155 | 154 |
156 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); | 155 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); |
157 }; | 156 }; |
158 | 157 |
159 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ | 158 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ |
OLD | NEW |