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

Unified Diff: chrome/browser/password_manager/password_store_win.h

Issue 825773003: PasswordStore: Use ScopedVector to express ownership of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Leaks fixed + VABR->vabr Created 5 years, 11 months 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: chrome/browser/password_manager/password_store_win.h
diff --git a/chrome/browser/password_manager/password_store_win.h b/chrome/browser/password_manager/password_store_win.h
index e3fcace379cb4c8543d46fe8eb8a97ab70a20b82..c84c03350090ca056bca6561a0a3bd467d825a7c 100644
--- a/chrome/browser/password_manager/password_store_win.h
+++ b/chrome/browser/password_manager/password_store_win.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_
#include "base/memory/scoped_ptr.h"
+#include "base/memory/scoped_vector.h"
#include "components/password_manager/core/browser/password_store_default.h"
class PasswordWebDataService;
@@ -48,9 +49,9 @@ class PasswordStoreWin : public password_manager::PasswordStoreDefault {
const ConsumerCallbackRunner& callback_runner) override;
void GetIE7LoginIfNecessary(
- const autofill::PasswordForm& form,
- const ConsumerCallbackRunner& callback_runner,
- const std::vector<autofill::PasswordForm*>& matched_forms);
+ const autofill::PasswordForm& form,
+ const ConsumerCallbackRunner& callback_runner,
+ ScopedVector<autofill::PasswordForm>* matched_forms);
scoped_ptr<DBHandler> db_handler_;

Powered by Google App Engine
This is Rietveld 408576698