Index: components/password_manager/core/browser/password_store_sync.h |
diff --git a/components/password_manager/core/browser/password_store_sync.h b/components/password_manager/core/browser/password_store_sync.h |
index d984bad4a3a20dcd3aef404c85705e2467b0f4cb..bed837a3752ce3a11754bbf252e508450ab4817b 100644 |
--- a/components/password_manager/core/browser/password_store_sync.h |
+++ b/components/password_manager/core/browser/password_store_sync.h |
@@ -5,8 +5,7 @@ |
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_SYNC_INTERFACE_H_ |
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_SYNC_INTERFACE_H_ |
-#include <vector> |
- |
+#include "base/memory/scoped_vector.h" |
#include "components/password_manager/core/browser/password_store_change.h" |
namespace password_manager { |
@@ -19,11 +18,11 @@ class PasswordStoreSync { |
public: |
// Finds all non-blacklist PasswordForms, and fills the vector. |
virtual bool FillAutofillableLogins( |
- std::vector<autofill::PasswordForm*>* forms) = 0; |
+ ScopedVector<autofill::PasswordForm>* forms) = 0; |
// Finds all blacklist PasswordForms, and fills the vector. |
virtual bool FillBlacklistLogins( |
- std::vector<autofill::PasswordForm*>* forms) = 0; |
+ ScopedVector<autofill::PasswordForm>* forms) = 0; |
// Synchronous implementation to add the given login. |
virtual PasswordStoreChangeList AddLoginImpl( |