| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "components/password_manager/core/browser/password_form_manager.h" | 9 #include "components/password_manager/core/browser/password_form_manager.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // | 29 // |
| 30 // This class does not take ownership of |dispatcher|. | 30 // This class does not take ownership of |dispatcher|. |
| 31 CredentialManagerPasswordFormManager( | 31 CredentialManagerPasswordFormManager( |
| 32 PasswordManagerClient* client, | 32 PasswordManagerClient* client, |
| 33 base::WeakPtr<PasswordManagerDriver> driver, | 33 base::WeakPtr<PasswordManagerDriver> driver, |
| 34 const autofill::PasswordForm& observed_form, | 34 const autofill::PasswordForm& observed_form, |
| 35 CredentialManagerDispatcher* dispatcher); | 35 CredentialManagerDispatcher* dispatcher); |
| 36 ~CredentialManagerPasswordFormManager() override; | 36 ~CredentialManagerPasswordFormManager() override; |
| 37 | 37 |
| 38 void OnGetPasswordStoreResults( | 38 void OnGetPasswordStoreResults( |
| 39 const std::vector<autofill::PasswordForm*>& results) override; | 39 ScopedVector<autofill::PasswordForm> results) override; |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 CredentialManagerDispatcher* dispatcher_; | 42 CredentialManagerDispatcher* dispatcher_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager); | 44 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace password_manager | 47 } // namespace password_manager |
| 48 | 48 |
| 49 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWO
RD_FORM_MANAGER_H_ | 49 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWO
RD_FORM_MANAGER_H_ |
| OLD | NEW |