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

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 palmer 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 07647c1fbe3d78381190a458a9e06b38e149be9e..446b94a4fabf6598521519f13c08c1f46de7d7a0 100644
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
@@ -91,8 +91,12 @@ class PasswordAutofillAgentTest : public ChromeRenderViewTest {
password_field.value = password1_;
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