[Password Manager] Fix bug in crowdsourcing of |ACCOUNT_CREATION_PASSWORD| vote
When Chrome uploads |ACCOUNT_CREATION_PASSWORD| vote, the uploaded form data should belong to the saved credential(i.e. |PasswordFormManager::pending_credentials|), but not to |submitted_form_| or |observed_form_|. This CL fixes it. The CL also changes how |password_element| is set in |CreatePendingCredentials|. If |pending_credentials_| is an already saved credential, then |password_element| should be from the saved credential, but not from the submitted form. Bug: 552420 Change-Id: I84dec939e097f0356d3ad7af8cdf3dc9ec97e2a5 Reviewed-on: https://chromium-review.googlesource.com/1014105Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#551322}
Showing
Please register or sign in to comment