| 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_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I
MPL_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I
MPL_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I
MPL_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I
MPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const GetCallback& callback) override; | 60 const GetCallback& callback) override; |
| 61 | 61 |
| 62 // CredentialManagerPendingRequestTaskDelegate: | 62 // CredentialManagerPendingRequestTaskDelegate: |
| 63 bool IsZeroClickAllowed() const override; | 63 bool IsZeroClickAllowed() const override; |
| 64 GURL GetOrigin() const override; | 64 GURL GetOrigin() const override; |
| 65 void SendCredential(const SendCredentialCallback& send_callback, | 65 void SendCredential(const SendCredentialCallback& send_callback, |
| 66 const CredentialInfo& info) override; | 66 const CredentialInfo& info) override; |
| 67 void SendPasswordForm(const SendCredentialCallback& send_callback, | 67 void SendPasswordForm(const SendCredentialCallback& send_callback, |
| 68 const autofill::PasswordForm* form) override; | 68 const autofill::PasswordForm* form) override; |
| 69 PasswordManagerClient* client() const override; | 69 PasswordManagerClient* client() const override; |
| 70 autofill::PasswordForm GetSynthesizedFormForOrigin() const override; | 70 PasswordStore::FormDigest GetSynthesizedFormForOrigin() const override; |
| 71 | 71 |
| 72 // CredentialManagerPendingSignedOutTaskDelegate: | 72 // CredentialManagerPendingSignedOutTaskDelegate: |
| 73 PasswordStore* GetPasswordStore() override; | 73 PasswordStore* GetPasswordStore() override; |
| 74 void DoneRequiringUserMediation() override; | 74 void DoneRequiringUserMediation() override; |
| 75 | 75 |
| 76 // CredentialManagerPasswordFormManagerDelegate: | 76 // CredentialManagerPasswordFormManagerDelegate: |
| 77 void OnProvisionalSaveComplete() override; | 77 void OnProvisionalSaveComplete() override; |
| 78 | 78 |
| 79 private: | 79 private: |
| 80 // Returns the driver for the current main frame. | 80 // Returns the driver for the current main frame. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 mojo::BindingSet<mojom::CredentialManager> bindings_; | 117 mojo::BindingSet<mojom::CredentialManager> bindings_; |
| 118 | 118 |
| 119 base::WeakPtrFactory<CredentialManagerImpl> weak_factory_; | 119 base::WeakPtrFactory<CredentialManagerImpl> weak_factory_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerImpl); | 121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerImpl); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace password_manager | 124 } // namespace password_manager |
| 125 | 125 |
| 126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_IMPL_H_ | 126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_IMPL_H_ |
| OLD | NEW |