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

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: Fixups. Created 6 years, 8 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 c88ed223f08bdc51c030956a06e9879adaaf0f13..736b7a1f153bfe657a0b2afeed83d2879c88c6af 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
@@ -68,6 +68,9 @@ 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