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 <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/prefs/pref_member.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" |
| 18 #include "components/prefs/pref_member.h" |
19 | 19 |
20 namespace autofill { | 20 namespace autofill { |
21 struct PasswordForm; | 21 struct PasswordForm; |
22 } | 22 } |
23 | 23 |
24 class PasswordUIView; | 24 class PasswordUIView; |
25 | 25 |
26 class Profile; | 26 class Profile; |
27 | 27 |
28 // Contains the common logic used by a PasswordUIView to | 28 // Contains the common logic used by a PasswordUIView to |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // UI view that owns this presenter. | 132 // UI view that owns this presenter. |
133 PasswordUIView* password_view_; | 133 PasswordUIView* password_view_; |
134 | 134 |
135 // User pref for storing accept languages. | 135 // User pref for storing accept languages. |
136 std::string languages_; | 136 std::string languages_; |
137 | 137 |
138 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); | 138 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); |
139 }; | 139 }; |
140 | 140 |
141 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ | 141 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ |
OLD | NEW |