| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ | 5 #ifndef IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ |
| 6 #define IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ | 6 #define IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // password_manager::CredentialManagerPendingRequestTaskDelegate: | 57 // password_manager::CredentialManagerPendingRequestTaskDelegate: |
| 58 bool IsZeroClickAllowed() const override; | 58 bool IsZeroClickAllowed() const override; |
| 59 GURL GetOrigin() const override; | 59 GURL GetOrigin() const override; |
| 60 void SendCredential( | 60 void SendCredential( |
| 61 const password_manager::SendCredentialCallback& send_callback, | 61 const password_manager::SendCredentialCallback& send_callback, |
| 62 const password_manager::CredentialInfo& credential) override; | 62 const password_manager::CredentialInfo& credential) override; |
| 63 void SendPasswordForm( | 63 void SendPasswordForm( |
| 64 const password_manager::SendCredentialCallback& send_callback, | 64 const password_manager::SendCredentialCallback& send_callback, |
| 65 const autofill::PasswordForm* form) override; | 65 const autofill::PasswordForm* form) override; |
| 66 password_manager::PasswordManagerClient* client() const override; | 66 password_manager::PasswordManagerClient* client() const override; |
| 67 password_manager::PasswordStore::FormDigest GetSynthesizedFormForOrigin() | |
| 68 const override; | |
| 69 | 67 |
| 70 // password_manager::CredentialManagerPendingRequireUserMediationTaskDelegate: | 68 // password_manager::CredentialManagerPendingRequireUserMediationTaskDelegate: |
| 71 password_manager::PasswordStore* GetPasswordStore() override; | 69 password_manager::PasswordStore* GetPasswordStore() override; |
| 72 void DoneRequiringUserMediation() override; | 70 void DoneRequiringUserMediation() override; |
| 73 | 71 |
| 74 // CredentialManagerPasswordFormManagerDelegate: | 72 // CredentialManagerPasswordFormManagerDelegate: |
| 75 void OnProvisionalSaveComplete() override; | 73 void OnProvisionalSaveComplete() override; |
| 76 | 74 |
| 77 private: | 75 private: |
| 78 // The errors that can cause a request to fail. | 76 // The errors that can cause a request to fail. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // Whether zero-click sign-in is enabled. | 128 // Whether zero-click sign-in is enabled. |
| 131 BooleanPrefMember zero_click_sign_in_enabled_; | 129 BooleanPrefMember zero_click_sign_in_enabled_; |
| 132 | 130 |
| 133 // Weak pointer factory for asynchronously resolving requests. | 131 // Weak pointer factory for asynchronously resolving requests. |
| 134 base::WeakPtrFactory<CredentialManager> weak_factory_; | 132 base::WeakPtrFactory<CredentialManager> weak_factory_; |
| 135 | 133 |
| 136 DISALLOW_COPY_AND_ASSIGN(CredentialManager); | 134 DISALLOW_COPY_AND_ASSIGN(CredentialManager); |
| 137 }; | 135 }; |
| 138 | 136 |
| 139 #endif // IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ | 137 #endif // IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ |
| OLD | NEW |