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

Issue 2542093002: [Password Generation] Fixes sending votes about the usage of the password generation popup (Closed)

Created:
4 years ago by kolos1
Modified:
4 years ago
Reviewers:
vasilii, dvadym
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[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 Committed: https://crrev.com/7209820b1bdfa1f86eaaa0e14b2c370ebf0064cd Cr-Commit-Position: refs/heads/master@{#439763}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes addressed to reviewer comments #

Total comments: 16

Patch Set 3 : Changes addressed to reviewer comments 2 #

Total comments: 6

Patch Set 4 : Changes addressed to reviewer comments 3 #

Patch Set 5 : Rebase #

Patch Set 6 : Fix for the failed Mac test #

Total comments: 1

Messages

Total messages: 55 (37 generated)
kolos1
4 years ago (2016-12-02 11:52:15 UTC) #2
dvadym
Thanks Maxim for refactoring and fixing issue with sending votes! I've checked logic of votes ...
4 years ago (2016-12-02 15:10:27 UTC) #13
kolos1
https://codereview.chromium.org/2542093002/diff/100001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/2542093002/diff/100001/components/password_manager/core/browser/password_form_manager.cc#newcode734 components/password_manager/core/browser/password_form_manager.cc:734: is_cpf_form On 2016/12/02 15:10:27, dvadym wrote: > It looks ...
4 years ago (2016-12-05 15:05:37 UTC) #18
kolos1
vasilii@chromium.org: Please review this CL. Regards, Maxim
4 years ago (2016-12-08 15:09:12 UTC) #25
vasilii
Honestly I am not familiar with the votes in password_form_manager.cc. I can only rubber stamp ...
4 years ago (2016-12-08 16:58:14 UTC) #26
kolos1
Thanks Vasilii for review. Vadym will make one more pass on votes specific code. https://codereview.chromium.org/2542093002/diff/280001/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc ...
4 years ago (2016-12-09 12:16:08 UTC) #30
vasilii
Only nits left. https://codereview.chromium.org/2542093002/diff/320001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2542093002/diff/320001/components/password_manager/core/browser/password_form_manager.h#newcode368 components/password_manager/core/browser/password_form_manager.h:368: // TODO(crbug.com/) TODO what? https://codereview.chromium.org/2542093002/diff/320001/components/password_manager/core/browser/password_form_manager.h#newcode429 components/password_manager/core/browser/password_form_manager.h:429: ...
4 years ago (2016-12-12 18:57:15 UTC) #31
kolos1
https://codereview.chromium.org/2542093002/diff/320001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2542093002/diff/320001/components/password_manager/core/browser/password_form_manager.h#newcode368 components/password_manager/core/browser/password_form_manager.h:368: // TODO(crbug.com/) On 2016/12/12 18:57:14, vasilii wrote: > TODO ...
4 years ago (2016-12-13 15:14:44 UTC) #32
dvadym
LGTM
4 years ago (2016-12-13 15:33:22 UTC) #33
vasilii
lgtm
4 years ago (2016-12-15 12:26:32 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2542093002/340001
4 years ago (2016-12-16 14:54:57 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/356023)
4 years ago (2016-12-16 16:09:11 UTC) #38
vasilii
You forgot to update ManagePasswordsUIControllerMock with the new method. Once you overwrite it the error ...
4 years ago (2016-12-19 10:58:23 UTC) #39
kolos1
https://codereview.chromium.org/2542093002/diff/420001/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h File chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h (right): https://codereview.chromium.org/2542093002/diff/420001/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h#newcode33 chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h:33: MOCK_METHOD0(OnNoInteraction, void()); vasilii@: Thanks.
4 years ago (2016-12-19 11:39:40 UTC) #44
vasilii
lgtm
4 years ago (2016-12-19 12:46:51 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2542093002/420001
4 years ago (2016-12-20 10:37:03 UTC) #50
commit-bot: I haz the power
Committed patchset #6 (id:420001)
4 years ago (2016-12-20 10:40:56 UTC) #53
commit-bot: I haz the power
4 years ago (2016-12-20 10:43:07 UTC) #55
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7209820b1bdfa1f86eaaa0e14b2c370ebf0064cd
Cr-Commit-Position: refs/heads/master@{#439763}

Powered by Google App Engine
This is Rietveld 408576698