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

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

Issue 2334543003: [Password Generation] Move canonical action computation from rendered to browser part (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | components/autofill/content/renderer/password_generation_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/password_generation_test_utils.cc
diff --git a/chrome/renderer/autofill/password_generation_test_utils.cc b/chrome/renderer/autofill/password_generation_test_utils.cc
index 4dcc5280e7b4ee5ac6aa41b8cafd3f2bad568ab3..d510daf92ef725571d4b1e51069b62ff0f511a40 100644
--- a/chrome/renderer/autofill/password_generation_test_utils.cc
+++ b/chrome/renderer/autofill/password_generation_test_utils.cc
@@ -41,7 +41,8 @@ void SetAccountCreationFormsDetectedMessage(
std::vector<autofill::PasswordFormGenerationData> forms;
forms.push_back(autofill::PasswordFormGenerationData{
- form_data.name, form_data.action, form_data.fields[field_index]});
+ form_data.name, form_util::StripAuthAndParams(form_data.action),
+ form_data.fields[field_index]});
generation_agent->FoundFormsEligibleForGeneration(forms);
}
« no previous file with comments | « no previous file | components/autofill/content/renderer/password_generation_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698