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

Issue 2333923002: Discount for inactivity timeout for recording session length (Closed)

Created:
4 years, 3 months ago by gayane -on leave until 09-2017
Modified:
4 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Discount for inactivity timeout for recording session length When session ends because of timeout we should subtract the waiting time for more accurate session length. BUG=645538 Committed: https://crrev.com/1d1e6805b10cf2101d4a926a4c9c19ffb9c66749 Cr-Commit-Position: refs/heads/master@{#418396}

Patch Set 1 : Reverted changes #

Total comments: 1

Patch Set 2 : modify tests #

Patch Set 3 : Modify tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
M chrome/browser/metrics/desktop_engagement/desktop_engagement_service.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
gayane -on leave until 09-2017
I have changed the unit test to be a bit more flexible. Didn't find good ...
4 years, 3 months ago (2016-09-13 17:47:52 UTC) #6
Alexei Svitkine (slow)
Can you make patch set 1 be the original thing you landed and a second ...
4 years, 3 months ago (2016-09-13 17:49:38 UTC) #7
gayane -on leave until 09-2017
Separated reverted changes from the new changes. https://codereview.chromium.org/2333923002/diff/20001/chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc File chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc (right): https://codereview.chromium.org/2333923002/diff/20001/chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc#newcode171 chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc:171: histogram_tester.ExpectUniqueSample("Session.TotalDuration", 0, ...
4 years, 3 months ago (2016-09-13 18:13:53 UTC) #9
Alexei Svitkine (slow)
Thanks! We discussed offline, let me know when it's ready to take another look.
4 years, 3 months ago (2016-09-13 19:25:00 UTC) #10
gayane -on leave until 09-2017
PTAL
4 years, 3 months ago (2016-09-13 21:04:31 UTC) #11
Alexei Svitkine (slow)
lgtm
4 years, 3 months ago (2016-09-13 21:21:35 UTC) #12
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/2333923002/50001
4 years, 3 months ago (2016-09-13 21:29:42 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:50001)
4 years, 3 months ago (2016-09-13 22:48:55 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 22:50:35 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1d1e6805b10cf2101d4a926a4c9c19ffb9c66749
Cr-Commit-Position: refs/heads/master@{#418396}

Powered by Google App Engine
This is Rietveld 408576698