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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_view_test.cc

Issue 259153004: Password bubble: Give users the option of unblacklisting a site. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/views/passwords/manage_passwords_view_test.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc b/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
index 4cf4614ed11b7c8b07dc58515eb54fd7e5e2dfd0..7f4a542b5f89172d61c14e69ab3bdf6b05c5fbb1 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
@@ -79,7 +79,10 @@ void ManagePasswordsViewTest::SetupPendingPassword() {
}
void ManagePasswordsViewTest::SetupBlackistedPassword() {
- controller()->OnBlacklistBlockedAutofill();
+ base::string16 kTestUsername = base::ASCIIToUTF16("test_username");
+ autofill::PasswordFormMap map;
+ map[kTestUsername] = test_form();
+ controller()->OnBlacklistBlockedAutofill(map);
controller()->UpdateIconAndBubbleState(view());
}

Powered by Google App Engine
This is Rietveld 408576698