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_D
ISPATCHER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D
ISPATCHER_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D
ISPATCHER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D
ISPATCHER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool include_passwords, | 61 bool include_passwords, |
62 const std::vector<GURL>& federations); | 62 const std::vector<GURL>& federations); |
63 | 63 |
64 // content::WebContentsObserver implementation. | 64 // content::WebContentsObserver implementation. |
65 bool OnMessageReceived(const IPC::Message& message) override; | 65 bool OnMessageReceived(const IPC::Message& message) override; |
66 | 66 |
67 // CredentialManagerPendingRequestTaskDelegate: | 67 // CredentialManagerPendingRequestTaskDelegate: |
68 bool IsZeroClickAllowed() const override; | 68 bool IsZeroClickAllowed() const override; |
69 GURL GetOrigin() const override; | 69 GURL GetOrigin() const override; |
70 void SendCredential(int request_id, const CredentialInfo& info) override; | 70 void SendCredential(int request_id, const CredentialInfo& info) override; |
| 71 void SendPasswordForm(int request_id, |
| 72 const autofill::PasswordForm* form) override; |
71 PasswordManagerClient* client() const override; | 73 PasswordManagerClient* client() const override; |
72 autofill::PasswordForm GetSynthesizedFormForOrigin() const override; | 74 autofill::PasswordForm GetSynthesizedFormForOrigin() const override; |
73 | 75 |
74 // CredentialManagerPendingSignedOutTaskDelegate: | 76 // CredentialManagerPendingSignedOutTaskDelegate: |
75 PasswordStore* GetPasswordStore() override; | 77 PasswordStore* GetPasswordStore() override; |
76 void DoneRequiringUserMediation() override; | 78 void DoneRequiringUserMediation() override; |
77 | 79 |
78 // CredentialManagerPasswordFormManagerDelegate: | 80 // CredentialManagerPasswordFormManagerDelegate: |
79 void OnProvisionalSaveComplete() override; | 81 void OnProvisionalSaveComplete() override; |
80 | 82 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 pending_require_user_mediation_; | 119 pending_require_user_mediation_; |
118 | 120 |
119 base::WeakPtrFactory<CredentialManagerDispatcher> weak_factory_; | 121 base::WeakPtrFactory<CredentialManagerDispatcher> weak_factory_; |
120 | 122 |
121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher); | 123 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher); |
122 }; | 124 }; |
123 | 125 |
124 } // namespace password_manager | 126 } // namespace password_manager |
125 | 127 |
126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_DISPATCHER_H_ | 128 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_DISPATCHER_H_ |
OLD | NEW |