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

Unified Diff: chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa_unittest.mm

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/cocoa/passwords/passwords_bubble_cocoa_unittest.mm
diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa_unittest.mm b/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa_unittest.mm
index af7d02779612527f1fde9fc5ad723dd6bbd4ae48..712e72edd6d596131cfdb17ce8a31f4c62574941 100644
--- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa_unittest.mm
+++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa_unittest.mm
@@ -68,8 +68,6 @@ class ManagePasswordsBubbleCocoaTest : public CocoaProfileTest {
ASSERT_TRUE(testing::Mock::VerifyAndClearExpectations(mock));
autofill::PasswordForm form;
EXPECT_CALL(*mock, GetPendingPassword()).WillOnce(ReturnRef(form));
- std::vector<const autofill::PasswordForm*> forms;
- EXPECT_CALL(*mock, GetCurrentForms()).WillOnce(ReturnRef(forms));
GURL origin;
EXPECT_CALL(*mock, GetOrigin()).WillOnce(ReturnRef(origin));
EXPECT_CALL(*mock, GetState())

Powered by Google App Engine
This is Rietveld 408576698