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

Issue 1124153007: Added the Ash.Tab.TimeBetweenSwitchToExistingTabUserActions histogram to track time between tab swit (Closed)

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

Description

Added the Ash.Tab.TimeBetweenSwitchToExistingTabUserActions histogram to track time between tab switches. TEST=Manually verified histogram data added on ChromeOS. BUG=478930 Committed: https://crrev.com/42faa2d8efff66a999da8291622ba43712b1ba8a Cr-Commit-Position: refs/heads/master@{#330217}

Patch Set 1 #

Patch Set 2 : Fixed the branch that the diff was based on. #

Total comments: 2

Patch Set 3 : Removed UserMetricsRecorderProxy from ash. #

Total comments: 15

Patch Set 4 : Addressed asvitkine@ and tdanderson@'s comments from patch set 3. #

Total comments: 12

Patch Set 5 : Addressed oshima@'s comments from patch set 4. #

Patch Set 6 : Addressed oshima@'s comments from patch set 5. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -0 lines) Patch
M ash/metrics/task_switch_metrics_recorder.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/metrics/task_switch_metrics_recorder.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ash/metrics/task_switch_metrics_recorder_unittest.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.cc View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
oshima
you should talk to sky about how to observe tab switch events. https://codereview.chromium.org/1124153007/diff/20001/ash/metrics/user_metrics_recorder_proxy.h File ash/metrics/user_metrics_recorder_proxy.h ...
5 years, 7 months ago (2015-05-15 17:13:36 UTC) #2
bruthig
oshima@: Can you please have a look at: - ash/* - chrome/* asvitkine@: Can you ...
5 years, 7 months ago (2015-05-15 19:11:28 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1124153007/diff/40001/ash/metrics/user_metrics_recorder.h File ash/metrics/user_metrics_recorder.h (right): https://codereview.chromium.org/1124153007/diff/40001/ash/metrics/user_metrics_recorder.h#newcode15 ash/metrics/user_metrics_recorder.h:15: class ShellDelegate; Do you still need changes to this ...
5 years, 7 months ago (2015-05-15 19:19:56 UTC) #6
tdanderson
lgtm with the nits mentioned below. https://codereview.chromium.org/1124153007/diff/40001/ash/metrics/user_metrics_recorder.h File ash/metrics/user_metrics_recorder.h (right): https://codereview.chromium.org/1124153007/diff/40001/ash/metrics/user_metrics_recorder.h#newcode10 ash/metrics/user_metrics_recorder.h:10: #include "base/memory/scoped_ptr.h" needed? ...
5 years, 7 months ago (2015-05-15 19:23:09 UTC) #7
bruthig
I have addressed asvitkine@ and tdanderson@'s comments from patch set 3. oshima@: Can you please ...
5 years, 7 months ago (2015-05-15 19:36:21 UTC) #8
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-15 19:37:50 UTC) #9
oshima
https://codereview.chromium.org/1124153007/diff/60001/chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc File chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc (right): https://codereview.chromium.org/1124153007/diff/60001/chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc#newcode22 chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc:22: BrowserList::RemoveObserver(this); can you DCHECK if browser list is empty? ...
5 years, 7 months ago (2015-05-15 19:45:36 UTC) #10
bruthig
I've addressed oshima@'s comments from patch set 4. oshima@, can you have another look? https://codereview.chromium.org/1124153007/diff/60001/chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc ...
5 years, 7 months ago (2015-05-15 20:02:43 UTC) #11
oshima
https://codereview.chromium.org/1124153007/diff/60001/chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc File chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc (right): https://codereview.chromium.org/1124153007/diff/60001/chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc#newcode44 chrome/browser/ui/ash/metrics/user_metrics_recorder_proxy.cc:44: CHECK(ash::Shell::HasInstance()); On 2015/05/15 20:02:43, bruthig wrote: > On 2015/05/15 ...
5 years, 7 months ago (2015-05-15 20:12:55 UTC) #12
bruthig
I've addressed oshima@'s comments from patch set 5. I've moved ChromeUserMetricsRecorder out of the ash ...
5 years, 7 months ago (2015-05-15 20:40:26 UTC) #13
oshima
lgtm
5 years, 7 months ago (2015-05-15 20:43:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124153007/100001
5 years, 7 months ago (2015-05-15 20:45:34 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-15 22:24:57 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:28:29 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/42faa2d8efff66a999da8291622ba43712b1ba8a
Cr-Commit-Position: refs/heads/master@{#330217}

Powered by Google App Engine
This is Rietveld 408576698