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

Unified Diff: chrome/browser/ui/passwords/passwords_model_delegate_mock.h

Issue 2253233005: Change ScopedVector to vector<unique_ptr> in the password's UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android+ Created 4 years, 4 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/ui/passwords/passwords_model_delegate_mock.h
diff --git a/chrome/browser/ui/passwords/passwords_model_delegate_mock.h b/chrome/browser/ui/passwords/passwords_model_delegate_mock.h
index 053199da94de3ed3c0ec8304d228e85eb5595fac..662a03ec0414123e4ef35b2410c44c33f9029eac 100644
--- a/chrome/browser/ui/passwords/passwords_model_delegate_mock.h
+++ b/chrome/browser/ui/passwords/passwords_model_delegate_mock.h
@@ -22,10 +22,12 @@ class PasswordsModelDelegateMock
MOCK_CONST_METHOD0(GetState, password_manager::ui::State());
MOCK_CONST_METHOD0(GetPendingPassword, const autofill::PasswordForm&());
MOCK_CONST_METHOD0(IsPasswordOverridden, bool());
- MOCK_CONST_METHOD0(GetCurrentForms,
- const std::vector<const autofill::PasswordForm*>&());
- MOCK_CONST_METHOD0(GetFederatedForms,
- const std::vector<const autofill::PasswordForm*>&());
+ MOCK_CONST_METHOD0(
+ GetCurrentForms,
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&());
+ MOCK_CONST_METHOD0(
+ GetFederatedForms,
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&());
MOCK_CONST_METHOD0(GetCurrentInteractionStats,
password_manager::InteractionsStats*());
MOCK_METHOD0(OnBubbleShown, void());
« no previous file with comments | « chrome/browser/ui/passwords/passwords_model_delegate.h ('k') | chrome/browser/ui/views/passwords/credentials_selection_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698