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

Unified Diff: chrome/renderer/autofill/password_autofill_agent_browsertest.cc

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from isherman and aurimas Created 7 years, 6 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/renderer/autofill/password_autofill_agent_browsertest.cc
diff --git a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
index 1c8ddbaf9492157e24f320b45e492be320781c59..128e60733e6472f25eb83f7a71db91ca19635db0 100644
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
@@ -92,8 +92,12 @@ class PasswordAutofillAgentTest : public ChromeRenderViewTest {
password_field.form_control_type = "password";
fill_data_.basic_data.fields.push_back(password_field);
- fill_data_.additional_logins[username2_] = password2_;
- fill_data_.additional_logins[username3_] = password3_;
+ PasswordAndRealm password2;
+ password2.password = password2_;
+ fill_data_.additional_logins[username2_] = password2;
+ PasswordAndRealm password3;
+ password3.password = password3_;
+ fill_data_.additional_logins[username3_] = password3;
UsernamesCollectionKey key;
key.username = username3_;

Powered by Google App Engine
This is Rietveld 408576698