OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "components/autofill/core/common/password_form.h" | 12 #include "components/autofill/core/common/password_form.h" |
13 #include "components/password_manager/core/browser/credentials_filter.h" | 13 #include "components/password_manager/core/browser/credentials_filter.h" |
14 #include "components/password_manager/core/browser/password_store.h" | 14 #include "components/password_manager/core/browser/password_store.h" |
15 | 15 |
16 class PrefService; | 16 class PrefService; |
17 | 17 |
18 namespace autofill { | 18 namespace autofill { |
19 class AutofillManager; | 19 class AutofillManager; |
20 } | 20 } |
21 | 21 |
22 namespace password_manager { | 22 namespace password_manager { |
23 | 23 |
24 class LogManager; | 24 class LogManager; |
25 class PasswordFormManager; | 25 class PasswordFormManager; |
26 class PasswordManager; | 26 class PasswordManager; |
27 class PasswordManagerDriver; | |
28 class PasswordStore; | 27 class PasswordStore; |
29 | 28 |
30 enum PasswordSyncState { | 29 enum PasswordSyncState { |
31 NOT_SYNCING_PASSWORDS, | 30 NOT_SYNCING_PASSWORDS, |
32 SYNCING_NORMAL_ENCRYPTION, | 31 SYNCING_NORMAL_ENCRYPTION, |
33 SYNCING_WITH_CUSTOM_PASSPHRASE | 32 SYNCING_WITH_CUSTOM_PASSPHRASE |
34 }; | 33 }; |
35 | 34 |
36 enum class CredentialSourceType { | 35 enum class CredentialSourceType { |
37 CREDENTIAL_SOURCE_PASSWORD_MANAGER = 0, | 36 CREDENTIAL_SOURCE_PASSWORD_MANAGER = 0, |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // Record that we saw a password field on this page. | 195 // Record that we saw a password field on this page. |
197 virtual void AnnotateNavigationEntry(bool has_password_field); | 196 virtual void AnnotateNavigationEntry(bool has_password_field); |
198 | 197 |
199 private: | 198 private: |
200 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); | 199 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); |
201 }; | 200 }; |
202 | 201 |
203 } // namespace password_manager | 202 } // namespace password_manager |
204 | 203 |
205 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ | 204 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |