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

Issue 1444133002: Add UMA histograms for data usage tab model (Closed)

Created:
5 years, 1 month ago by Raj
Modified:
5 years, 1 month ago
Reviewers:
jwd, tbansal1
CC:
chromium-reviews, 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

Add UMA histograms for data usage tab model Following histograms are added. 1. Tracking session lifetime from its start to end. 2. How long an old inactive tracking session is maintained in the tab model since it became inactive. 3. How long an expired (active/inactive) tab entry is maintained in the tab model since its latest tracking session. 4. How long an unexpired tab entry is maintained in the tab model. BUG=557436 Committed: https://crrev.com/78f5f8564bb8e103d9d4e20008a67b7b00b9f217 Cr-Commit-Position: refs/heads/master@{#360458}

Patch Set 1 #

Total comments: 42

Patch Set 2 : Addressed tbansal comments #

Total comments: 6

Patch Set 3 : Addressed tbansal comments #

Total comments: 8

Patch Set 4 : Addressed jwd comments #

Total comments: 6

Patch Set 5 : Rebased & addressed comments #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -62 lines) Patch
M chrome/browser/android/data_usage/data_use_tab_model.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/android/data_usage/data_use_tab_model.cc View 1 2 3 4 5 chunks +34 lines, -2 lines 0 comments Download
M chrome/browser/android/data_usage/data_use_tab_model_unittest.cc View 1 2 3 4 18 chunks +150 lines, -54 lines 0 comments Download
M chrome/browser/android/data_usage/tab_data_use_entry.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/data_usage/tab_data_use_entry.cc View 1 2 3 4 5 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/android/data_usage/tab_data_use_entry_unittest.cc View 1 2 3 4 3 chunks +63 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Raj
ptal
5 years, 1 month ago (2015-11-14 21:33:12 UTC) #3
tbansal1
https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc File chrome/browser/android/data_usage/data_use_tab_model.cc (right): https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc#newcode23 chrome/browser/android/data_usage/data_use_tab_model.cc:23: const char kUMAExpiredInactiveTabEntryRemovaltimeSecondsHistogram[] = May be remove Seconds from ...
5 years, 1 month ago (2015-11-16 17:17:39 UTC) #4
Raj
ptal https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc File chrome/browser/android/data_usage/data_use_tab_model.cc (right): https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc#newcode23 chrome/browser/android/data_usage/data_use_tab_model.cc:23: const char kUMAExpiredInactiveTabEntryRemovaltimeSecondsHistogram[] = On 2015/11/16 17:17:38, tbansal1 ...
5 years, 1 month ago (2015-11-16 20:09:37 UTC) #5
tbansal1
https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc File chrome/browser/android/data_usage/data_use_tab_model.cc (right): https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc#newcode189 chrome/browser/android/data_usage/data_use_tab_model.cc:189: UMA_HISTOGRAM_COUNTS_1000( On 2015/11/16 20:09:36, Raj wrote: > On 2015/11/16 ...
5 years, 1 month ago (2015-11-16 21:09:13 UTC) #6
Raj
ptal https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc File chrome/browser/android/data_usage/data_use_tab_model.cc (right): https://codereview.chromium.org/1444133002/diff/1/chrome/browser/android/data_usage/data_use_tab_model.cc#newcode189 chrome/browser/android/data_usage/data_use_tab_model.cc:189: UMA_HISTOGRAM_COUNTS_1000( On 2015/11/16 21:09:13, tbansal1 wrote: > On ...
5 years, 1 month ago (2015-11-17 07:04:03 UTC) #7
tbansal1
lgtm
5 years, 1 month ago (2015-11-17 18:17:58 UTC) #8
jwd
https://codereview.chromium.org/1444133002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1444133002/diff/40001/tools/metrics/histograms/histograms.xml#newcode6433 tools/metrics/histograms/histograms.xml:6433: + tracking session. Does a tracking session have a ...
5 years, 1 month ago (2015-11-17 20:55:22 UTC) #9
Raj
ptal https://codereview.chromium.org/1444133002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1444133002/diff/40001/tools/metrics/histograms/histograms.xml#newcode6433 tools/metrics/histograms/histograms.xml:6433: + tracking session. On 2015/11/17 20:55:22, Jesse Doherty ...
5 years, 1 month ago (2015-11-17 23:43:03 UTC) #10
tbansal1
lgtm % nits. https://codereview.chromium.org/1444133002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1444133002/diff/60001/tools/metrics/histograms/histograms.xml#newcode6427 tools/metrics/histograms/histograms.xml:6427: + units="seconds"> UMA_HISTOGRAM_CUSTOM_TIMES is always in ...
5 years, 1 month ago (2015-11-18 06:59:58 UTC) #12
Raj
ptal, thanks in advance. https://codereview.chromium.org/1444133002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1444133002/diff/60001/tools/metrics/histograms/histograms.xml#newcode6427 tools/metrics/histograms/histograms.xml:6427: + units="seconds"> On 2015/11/18 06:59:57, ...
5 years, 1 month ago (2015-11-18 16:56:28 UTC) #13
tbansal1
lgtm
5 years, 1 month ago (2015-11-18 17:18:52 UTC) #14
jwd
lgtm
5 years, 1 month ago (2015-11-18 23:04:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1444133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1444133002/100001
5 years, 1 month ago (2015-11-18 23:25:36 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-19 00:59:35 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 01:01:16 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/78f5f8564bb8e103d9d4e20008a67b7b00b9f217
Cr-Commit-Position: refs/heads/master@{#360458}

Powered by Google App Engine
This is Rietveld 408576698