| Index: components/password_manager/core/browser/password_store_consumer.h
|
| diff --git a/components/password_manager/core/browser/password_store_consumer.h b/components/password_manager/core/browser/password_store_consumer.h
|
| index c9237778f4f319c2116d7f9d8dde191d9fb571c5..1ffdae3c871694263fec69204227d68ea93ac8c9 100644
|
| --- a/components/password_manager/core/browser/password_store_consumer.h
|
| +++ b/components/password_manager/core/browser/password_store_consumer.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <vector>
|
|
|
| +#include "base/memory/scoped_vector.h"
|
| #include "base/task/cancelable_task_tracker.h"
|
|
|
| namespace autofill {
|
| @@ -24,11 +25,9 @@ class PasswordStoreConsumer {
|
| public:
|
| PasswordStoreConsumer();
|
|
|
| - // Called when the request is finished. If there are no results, it is called
|
| - // with an empty vector.
|
| - // Note: The implementation owns all PasswordForms in the vector.
|
| + // Called when the request is finished, with the associated |results|.
|
| virtual void OnGetPasswordStoreResults(
|
| - const std::vector<autofill::PasswordForm*>& results) = 0;
|
| + ScopedVector<autofill::PasswordForm> results) = 0;
|
|
|
| // The base::CancelableTaskTracker can be used for cancelling the
|
| // tasks associated with the consumer.
|
|
|