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

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: Fixed test expectation to match intention and comment 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9813cad5bb41e65287e1dde15946f2a877a35b3d..a3bda61f02b8fbae645aa4cb25fafdcb45d98440 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_;
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698