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

Issue 2220423002: Fix sync-credential-related metrics (Closed)

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

Description

Fix sync-credential-related metrics This CL makes PasswordManager_SyncCredentialUsed obsolete, beacuse it does not meaure what it should (see the associated bug). The CL also introduces a new user action, PasswordManager_SyncCredentialFilledAndLoginSuccessfull, to actually measure what the above action was supposed to measure. The CL also introduces another user action, PasswordManager_ProcessingUpdate, which keeps measuring what PasswordManager_SyncCredentialUsed measured, because that data was also useful. BUG=635428 Committed: https://crrev.com/3a69d6d6755a3f7c645ea682d777e55d7d4340b3 Cr-Commit-Position: refs/heads/master@{#410999}

Patch Set 1 #

Patch Set 2 : Self-review #

Patch Set 3 : Non-null driver + removing a forgotten LOG statement #

Total comments: 13

Patch Set 4 : Fix PasswordFormManagerTest.ReportProcessingUpdate #

Total comments: 6

Patch Set 5 : Just rebased #

Patch Set 6 : Comments addressed #

Messages

Total messages: 32 (21 generated)
vabr (Chromium)
Hi Vasilii, Could you please review? I will wait with histograms OWNERS review until you ...
4 years, 4 months ago (2016-08-08 13:03:19 UTC) #4
vasilii
lgtm https://codereview.chromium.org/2220423002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/2220423002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc#newcode636 components/password_manager/core/browser/password_manager_unittest.cc:636: client_.GetStoreResultFilter()), I think returning const MockStoreResultFilter* from MockPasswordManagerClient ...
4 years, 4 months ago (2016-08-08 15:34:24 UTC) #13
vabr (Chromium)
Ilya, could you please review tools/metrics/actions/actions.xml ? Vasilii, thanks for the comments. I will address ...
4 years, 4 months ago (2016-08-08 18:54:50 UTC) #17
Ilya Sherman
Metrics LGTM % nits, though if you have nontrivial responses to these comments, I'd like ...
4 years, 4 months ago (2016-08-08 22:17:14 UTC) #18
vabr (Chromium)
Thanks for both reviews. I answered the comments. Ilya, please feel free to have another ...
4 years, 4 months ago (2016-08-09 12:19:53 UTC) #21
Ilya Sherman
metrics still lgtm, thanks
4 years, 4 months ago (2016-08-09 19:13:54 UTC) #24
vabr (Chromium)
On 2016/08/09 19:13:54, Ilya Sherman wrote: > metrics still lgtm, thanks Thanks, Ilya. Vasilii is ...
4 years, 4 months ago (2016-08-10 08:00:54 UTC) #25
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/2220423002/100001
4 years, 4 months ago (2016-08-10 08:01:36 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-10 08:06:38 UTC) #29
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/3a69d6d6755a3f7c645ea682d777e55d7d4340b3 Cr-Commit-Position: refs/heads/master@{#410999}
4 years, 4 months ago (2016-08-10 08:08:10 UTC) #31
vasilii
4 years, 4 months ago (2016-08-11 10:26:10 UTC) #32
Message was sent while issue was closed.
LGTM

https://codereview.chromium.org/2220423002/diff/40001/components/password_man...
File
components/password_manager/sync/browser/sync_credentials_filter_unittest.cc
(right):

https://codereview.chromium.org/2220423002/diff/40001/components/password_man...
components/password_manager/sync/browser/sync_credentials_filter_unittest.cc:89:
enum { NO_HISTOGRAM, HISTOGRAM_REPORTED } histogram_reported;
On 2016/08/09 12:19:52, vabr (Chromium) wrote:
> On 2016/08/08 15:34:24, vasilii wrote:
> > enums should precede the members.
> 
> Well, these are both enum declarations and member declarations.
> Not sure what the style guide says about that. One thing we can do is split
them
> into named enums above, and using those names below for the actual fields.
> Personally I like the current version bettor for how succinct it is, but I am
> happy to discuss.
> 
> However, because this is not code I introduced or touched in this CL, I will
> keep it as is. Happy to do a follow-up after a discussion, but let's not block
> this CL.

Acknowledged. I didn't notice the variable here.

Powered by Google App Engine
This is Rietveld 408576698