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

Issue 1093483002: Changed when the UMA metric Ash.NumberOfVisibleWindowsInPrimaryDisplay is recorded. (Closed)

Created:
5 years, 8 months ago by bruthig
Modified:
5 years, 7 months ago
CC:
chromium-reviews, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed when the UMA metric Ash.NumberOfVisibleWindowsInPrimaryDisplay is recorded. Ash.NumberOfVisibleWindowsInPrimaryDisplay was incorrectly being recorded at the login and lock screen. TEST=UserMetricsRecorderTest.VerifyIsUserInActiveDesktopEnvironmentValues TEST=UserMetricsRecorderTest.VerifyStatsRecordedWhenUserNotInActiveDesktopEnvironment TEST=UserMetricsRecorderTest.VerifyStatsRecordedWhenUserInActiveDesktopEnvironment TEST=UserMetricsRecorderTest.VerifyStatsRecordedByRecordPeriodicMetrics BUG=477538 Committed: https://crrev.com/d89b76b49964e9b764fc93b2e8473e5120b74bf2 Cr-Commit-Position: refs/heads/master@{#327088}

Patch Set 1 #

Patch Set 2 : Added unittests. #

Total comments: 21

Patch Set 3 : Addressed comments from patch set 2. #

Total comments: 24

Patch Set 4 : Addressed pkotwicz@ comments from patch set 3. #

Total comments: 16

Patch Set 5 : Addressed comments from patch set 4. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -7 lines) Patch
M ash/ash.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.h View 1 2 3 4 2 chunks +31 lines, -1 line 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 2 3 4 5 chunks +54 lines, -6 lines 0 comments Download
A ash/metrics/user_metrics_recorder_unittest.cc View 1 2 3 4 1 chunk +162 lines, -0 lines 0 comments Download
A ash/test/user_metrics_recorder_test_api.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A ash/test/user_metrics_recorder_test_api.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
bruthig
sadrul@, tdanderson@, I thought you might be interested in this review for discussions sake on ...
5 years, 8 months ago (2015-04-16 22:25:49 UTC) #2
pkotwicz
Some drive by comments https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc#newcode536 ash/metrics/user_metrics_recorder.cc:536: if (UserIsActive()) { Should we ...
5 years, 8 months ago (2015-04-17 13:45:38 UTC) #4
bruthig
Thanks for the input pkotwicz@. You've started some of the discussions I was hoping to ...
5 years, 8 months ago (2015-04-17 14:41:24 UTC) #5
pkotwicz
https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder_unittest.cc File ash/metrics/user_metrics_recorder_unittest.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder_unittest.cc#newcode29 ash/metrics/user_metrics_recorder_unittest.cc:29: class TestUserMetricsRecorder : public UserMetricsRecorder { Extending the real ...
5 years, 8 months ago (2015-04-17 17:45:16 UTC) #6
tdanderson
https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc#newcode536 ash/metrics/user_metrics_recorder.cc:536: if (UserIsActive()) { On 2015/04/17 14:41:23, bruthig wrote: > ...
5 years, 8 months ago (2015-04-17 17:59:57 UTC) #7
sadrul
https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc#newcode546 ash/metrics/user_metrics_recorder.cc:546: } This function is ... interesting. What are the ...
5 years, 8 months ago (2015-04-17 22:55:39 UTC) #8
bruthig
I've re-worked the CL as per comments from sadrul@, tdanderson@, and pkotwicz@. Adding owners for ...
5 years, 8 months ago (2015-04-21 14:34:06 UTC) #10
pkotwicz
LGTM with nits https://codereview.chromium.org/1093483002/diff/40001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/40001/ash/metrics/user_metrics_recorder.cc#newcode69 ash/metrics/user_metrics_recorder.cc:69: // Returns true if Kiosk mode ...
5 years, 8 months ago (2015-04-21 16:15:17 UTC) #11
sadrul
https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc#newcode546 ash/metrics/user_metrics_recorder.cc:546: } On 2015/04/21 14:34:05, bruthig wrote: > On 2015/04/17 ...
5 years, 8 months ago (2015-04-21 17:24:56 UTC) #12
bruthig
I have addressed pkotwicz@'s comments, pkotwicz@ can you please review them. oshima@ can you please ...
5 years, 8 months ago (2015-04-24 20:00:12 UTC) #13
pkotwicz
SLGTM https://codereview.chromium.org/1093483002/diff/60001/ash/metrics/user_metrics_recorder_unittest.cc File ash/metrics/user_metrics_recorder_unittest.cc (right): https://codereview.chromium.org/1093483002/diff/60001/ash/metrics/user_metrics_recorder_unittest.cc#newcode7 ash/metrics/user_metrics_recorder_unittest.cc:7: #include "ash/shelf/shelf_layout_manager.h" Nit: You can remove this include? ...
5 years, 8 months ago (2015-04-25 00:16:53 UTC) #14
oshima
https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc File ash/metrics/user_metrics_recorder.cc (right): https://codereview.chromium.org/1093483002/diff/20001/ash/metrics/user_metrics_recorder.cc#newcode546 ash/metrics/user_metrics_recorder.cc:546: } On 2015/04/21 17:24:56, sadrul wrote: > On 2015/04/21 ...
5 years, 8 months ago (2015-04-25 01:06:58 UTC) #15
bruthig
I have addressed comments from patch set 4. oshima@, can you have another look? https://codereview.chromium.org/1093483002/diff/60001/ash/metrics/user_metrics_recorder.h ...
5 years, 8 months ago (2015-04-27 15:22:21 UTC) #16
oshima
lgtm
5 years, 8 months ago (2015-04-27 17:33:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1093483002/80001
5 years, 8 months ago (2015-04-27 18:04:43 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-04-27 18:45:50 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-04-27 18:47:18 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d89b76b49964e9b764fc93b2e8473e5120b74bf2
Cr-Commit-Position: refs/heads/master@{#327088}

Powered by Google App Engine
This is Rietveld 408576698