Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: components/password_manager/core/browser/password_manager_util.h

Issue 2565173002: Remove ScopedVector from PasswordStoreX (Closed)
Patch Set: Fix libsecret unittest compilation Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_manager_util.h
diff --git a/components/password_manager/core/browser/password_manager_util.h b/components/password_manager/core/browser/password_manager_util.h
index 8a1365c78bf944dbb7c7501786ceab8752ea74b0..f22f7a2b638bfdc42d430f4c1030b9701bd33613 100644
--- a/components/password_manager/core/browser/password_manager_util.h
+++ b/components/password_manager/core/browser/password_manager_util.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/callback.h"
-#include "base/memory/scoped_vector.h"
#include "components/password_manager/core/browser/password_manager_client.h"
#include "ui/gfx/native_widget_types.h"
@@ -35,8 +34,8 @@ password_manager::PasswordSyncState GetPasswordSyncState(
// the sync tag. The first element in each group is one from |forms|. It's
// followed by the duplicates.
void FindDuplicates(
- ScopedVector<autofill::PasswordForm>* forms,
- ScopedVector<autofill::PasswordForm>* duplicates,
+ std::vector<std::unique_ptr<autofill::PasswordForm>>* forms,
+ std::vector<std::unique_ptr<autofill::PasswordForm>>* duplicates,
std::vector<std::vector<autofill::PasswordForm*>>* tag_groups);
// Removes Android username-only credentials from |android_credentials|.

Powered by Google App Engine
This is Rietveld 408576698