[Password Generation] Fixes sending votes about the usage of the password generation popup
If the password generation popup was accepted by the user, the vote (ACCEPTED) will be always sent (because of automatic saving for generated passwords). If the popup was ignored, the vote (IGNORED) will be sent only if the user presses "Save" or "Update", otherwise the vote wouldn't be sent. This distorts the data about the usage of generation popup. This CL enables sending the votes regardless user's response. This CL also merges two similar functions UploadPasswordForm and UploadChangePasswordForm into UploadPasswordVote. BUG=552420 Review-Url: https://codereview.chromium.org/2542093002 Cr-Commit-Position: refs/heads/master@{#439763}
Showing
This diff is collapsed.
Please register or sign in to comment