| 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 "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
| 9 #include "components/autofill/core/common/password_form.h" | 9 #include "components/autofill/core/common/password_form.h" |
| 10 #include "components/password_manager/core/browser/password_store.h" | 10 #include "components/password_manager/core/browser/password_store.h" |
| 11 | 11 |
| 12 class PrefService; | 12 class PrefService; |
| 13 | 13 |
| 14 namespace password_manager { | 14 namespace password_manager { |
| 15 | 15 |
| 16 struct CredentialInfo; | |
| 17 class PasswordFormManager; | 16 class PasswordFormManager; |
| 18 class PasswordManagerDriver; | 17 class PasswordManagerDriver; |
| 19 class PasswordStore; | 18 class PasswordStore; |
| 20 | 19 |
| 21 enum CustomPassphraseState { | 20 enum CustomPassphraseState { |
| 22 WITHOUT_CUSTOM_PASSPHRASE, | 21 WITHOUT_CUSTOM_PASSPHRASE, |
| 23 ONLY_CUSTOM_PASSPHRASE | 22 ONLY_CUSTOM_PASSPHRASE |
| 24 }; | 23 }; |
| 25 | 24 |
| 26 // An abstraction of operations that depend on the embedders (e.g. Chrome) | 25 // An abstraction of operations that depend on the embedders (e.g. Chrome) |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual PasswordStore::AuthorizationPromptPolicy GetAuthorizationPromptPolicy( | 119 virtual PasswordStore::AuthorizationPromptPolicy GetAuthorizationPromptPolicy( |
| 121 const autofill::PasswordForm& form); | 120 const autofill::PasswordForm& form); |
| 122 | 121 |
| 123 private: | 122 private: |
| 124 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); | 123 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); |
| 125 }; | 124 }; |
| 126 | 125 |
| 127 } // namespace password_manager | 126 } // namespace password_manager |
| 128 | 127 |
| 129 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ | 128 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |