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

Issue 1304573004: Added UMA statistics for change passwords in the Password Manager (Closed)

Created:
5 years, 4 months ago by dvadym
Modified:
5 years, 4 months ago
Reviewers:
vasilii, Ilya Sherman
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, vabr+watchlist_chromium.org, asvitkine+watch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added UMA statistics for change passwords in the Password Manager Details what statistics is sent and when: There are 4 interesting cases related to Update password or processing of change password forms: 1.Change password form submission, no accounts stored in the Password Manager, the save bubble is shown. 2.Change password form submission, 1 account stored in the Password Manager, the update bubble without combobox is shown 3.Change password form submission, 1 account stored in the Password Manager, the update bubble with combobox for choosing correct credentials is shown 4.Sign-in form submission, and there is stored credential with submitted username but with password different to stored one. This case is called PASSWORD_OVERRIDEN. In each of these cases we want to know user behavior, namely the user clicked Yes, Nope or No interaction happened. That's why we have 12 cases to report. Since in case 1 Save bubble is shown we need to check this case in save button code. Conditions when to report difference cases the following: 1.Save bubble is shown && IsPossibleChangePasswordFormWithoutUsername() == true 2.Update bubble is shown && password_overridden_ == false && !ShouldShowMultipleAccountUpdateUI() 3.Update bubble is shown && password_overridden_ == false && ShouldShowMultipleAccountUpdateUI() 4.Update bubble is shown && password_overridden_ == true BUG=359315 Committed: https://crrev.com/a84862ae4b048158be5c5155aa257b1a065e2c65 Cr-Commit-Position: refs/heads/master@{#344890}

Patch Set 1 #

Total comments: 34

Patch Set 2 : Addressed reviewers comments #

Total comments: 7

Patch Set 3 : Comments addressed #

Patch Set 4 : Rebase #

Total comments: 18

Patch Set 5 : Comments addressed #

Total comments: 10

Patch Set 6 : Comments addressed #

Patch Set 7 : Fix unittests #

Total comments: 1

Patch Set 8 : Added DCHECK #

Patch Set 9 : Fix interactive tests #

Patch Set 10 : Mac fixed #

Patch Set 11 : fix #

Messages

Total messages: 38 (13 generated)
dvadym
https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode165 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:165: case password_manager::ui::PENDING_PASSWORD_STATE: It's added display disposition calculation for update ...
5 years, 4 months ago (2015-08-19 11:47:57 UTC) #1
dvadym
Hi Vasilii, Could you please review this CL? Best regards, Vadym
5 years, 4 months ago (2015-08-19 11:48:13 UTC) #3
vasilii
Overall concern: you introduce a new histogram but at the same time the update bubble ...
5 years, 4 months ago (2015-08-19 13:01:18 UTC) #4
dvadym
https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode166 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:166: display_disposition_ = metrics_util::MANUAL_WITH_PASSWORD_PENDING; On 2015/08/19 13:01:18, vasilii wrote: > ...
5 years, 4 months ago (2015-08-19 16:49:54 UTC) #5
dvadym
Hi Ilya, Could you please review changes in histograms.xml? Best regards, Vadym
5 years, 4 months ago (2015-08-19 16:51:39 UTC) #7
Ilya Sherman
https://codereview.chromium.org/1304573004/diff/1/components/password_manager/core/browser/password_manager_metrics_util.h File components/password_manager/core/browser/password_manager_metrics_util.h (right): https://codereview.chromium.org/1304573004/diff/1/components/password_manager/core/browser/password_manager_metrics_util.h#newcode35 components/password_manager/core/browser/password_manager_metrics_util.h:35: AUTOMATIC_WITH_PASSWORD_PENDING_UPDATE, Should histograms.xml be updated correspondingly? https://codereview.chromium.org/1304573004/diff/1/components/password_manager/core/browser/password_manager_metrics_util.h#newcode104 components/password_manager/core/browser/password_manager_metrics_util.h:104: PASSWORD_OVERRIDEN_NO_INTERACTION, ...
5 years, 4 months ago (2015-08-20 00:30:51 UTC) #8
dvadym
Thanks Ilya and Vasilii! I've addressed your comments in PatchSet 2. PTAL. https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc File chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ...
5 years, 4 months ago (2015-08-20 11:10:11 UTC) #9
vasilii
Before proceeding with manage_passwords_bubble_view.cc review I want you to write down a doc or a ...
5 years, 4 months ago (2015-08-20 15:11:48 UTC) #10
vasilii
https://codereview.chromium.org/1304573004/diff/20001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/20001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode235 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:235: password_overridden_ If you separate this construction into a method ...
5 years, 4 months ago (2015-08-20 15:23:03 UTC) #11
Ilya Sherman
Metrics LGTM, with some suggested clarifications: https://codereview.chromium.org/1304573004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1304573004/diff/1/tools/metrics/histograms/histograms.xml#newcode71966 tools/metrics/histograms/histograms.xml:71966: + <int value="0" ...
5 years, 4 months ago (2015-08-21 01:24:23 UTC) #12
dvadym
Thanks Ilya and Vasilii. I've addressed all your comments in PatchSet 4. Vasilii PTAL https://codereview.chromium.org/1304573004/diff/1/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ...
5 years, 4 months ago (2015-08-21 14:09:53 UTC) #13
vasilii
https://codereview.chromium.org/1304573004/diff/60001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/60001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode233 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:233: state_ == password_manager::ui::PENDING_PASSWORD_STATE) Make this 'if' the outer one. ...
5 years, 4 months ago (2015-08-21 14:59:22 UTC) #14
dvadym
Thanks Vasilii! PTAL https://codereview.chromium.org/1304573004/diff/60001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/60001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode233 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:233: state_ == password_manager::ui::PENDING_PASSWORD_STATE) On 2015/08/21 14:59:22, ...
5 years, 4 months ago (2015-08-21 15:31:14 UTC) #15
vasilii
https://codereview.chromium.org/1304573004/diff/80001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/80001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode231 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:231: GetUpdateDismissalReason(NO_INTERACTION); You fall into this block for normal save ...
5 years, 4 months ago (2015-08-21 15:58:35 UTC) #16
dvadym
Thanks Vasilii! PTAL https://codereview.chromium.org/1304573004/diff/80001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/80001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode231 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:231: GetUpdateDismissalReason(NO_INTERACTION); On 2015/08/21 15:58:34, vasilii wrote: ...
5 years, 4 months ago (2015-08-21 16:25:28 UTC) #17
vasilii
lgtm https://codereview.chromium.org/1304573004/diff/120001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/1304573004/diff/120001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode389 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:389: } DCHECK_EQ(UPDATE, state);
5 years, 4 months ago (2015-08-21 16:30:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304573004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304573004/140001
5 years, 4 months ago (2015-08-21 17:34:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/59856)
5 years, 4 months ago (2015-08-21 18:07:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304573004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304573004/160001
5 years, 4 months ago (2015-08-21 18:14:35 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/102487)
5 years, 4 months ago (2015-08-21 19:04:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304573004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304573004/180001
5 years, 4 months ago (2015-08-21 19:18:42 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/59957)
5 years, 4 months ago (2015-08-21 20:23:40 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304573004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304573004/200001
5 years, 4 months ago (2015-08-21 22:10:35 UTC) #36
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 4 months ago (2015-08-21 22:47:11 UTC) #37
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 22:47:58 UTC) #38
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/a84862ae4b048158be5c5155aa257b1a065e2c65
Cr-Commit-Position: refs/heads/master@{#344890}

Powered by Google App Engine
This is Rietveld 408576698