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

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

Issue 1402803002: [Password Manager] Pass origin of the form which was autofilled in order to display it in managemen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/manage_passwords_bubble_manage_view_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller_unittest.mm
index 8da3740f244c80a2e2611cba2744601d9327bc07..6cedc260bf8fa108810c22c779dd7e7d5aace887 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller_unittest.mm
@@ -78,7 +78,7 @@ TEST_F(ManagePasswordsBubbleManageViewControllerTest,
map.insert(base::ASCIIToUTF16("username2"), form2.Pass());
// Add the entries to the model.
- ui_controller()->OnPasswordAutofilled(map);
+ ui_controller()->OnPasswordAutofilled(map, map.begin()->second->origin);
model()->set_state(password_manager::ui::MANAGE_STATE);
// Check the view state.

Powered by Google App Engine
This is Rietveld 408576698