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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_test.cc

Issue 1009953002: Integrate ManagePasswordsState into ManagePasswordsUIController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 5 years, 9 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/manage_passwords_test.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_test.cc b/chrome/browser/ui/passwords/manage_passwords_test.cc
index cd3f9f730a8d41a7e18f666478012f1ff0cbe4f3..f316cdf6a414af7e39d1ab0bb1df8e2c5f3d6a08 100644
--- a/chrome/browser/ui/passwords/manage_passwords_test.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_test.cc
@@ -70,6 +70,8 @@ void ManagePasswordsTest::SetupAutomaticPassword() {
void ManagePasswordsTest::SetupBlackistedPassword() {
base::string16 kTestUsername = base::ASCIIToUTF16("test_username");
+ test_form()->username_value = kTestUsername;
vabr (Chromium) 2015/03/17 09:25:57 I'm surprised the username_value needs to be set f
vasilii 2015/03/17 10:49:48 Done.
+ test_form()->blacklisted_by_user = true;
autofill::PasswordFormMap map;
map[kTestUsername] = test_form();
GetController()->OnBlacklistBlockedAutofill(map);

Powered by Google App Engine
This is Rietveld 408576698