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

Issue 1591453005: Add metrics regarding concurrent audible tabs in Chromium. (Closed)

Created:
4 years, 11 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 11 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metrics regarding concurrent audible tabs in Chromium. These metrics are keeping track of: - whether there is another audible tab when a tab becomes audible; - the maximum number of concurrent audible tab in a session; - how long there are 2 or more audible tabs at the same time. It is also recording when a tab gain or loses audible status. BUG=578049 Committed: https://crrev.com/44e4ef42ba9104b06ae212042452dfc81d89032b Cr-Commit-Position: refs/heads/master@{#370435}

Patch Set 1 #

Total comments: 35

Patch Set 2 : review comments and test fixes #

Patch Set 3 : user action and tick #

Total comments: 6

Patch Set 4 : nits #

Total comments: 17

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+684 lines, -28 lines) Patch
A content/browser/media/audible_metrics.h View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/media/audible_metrics.cc View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
A content/browser/media/audible_metrics_unittest.cc View 1 2 3 4 1 chunk +397 lines, -0 lines 0 comments Download
M content/browser/media/audio_stream_monitor.h View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/media/audio_stream_monitor.cc View 4 chunks +15 lines, -1 line 0 comments Download
M content/browser/media/audio_stream_monitor_unittest.cc View 1 2 3 9 chunks +67 lines, -20 lines 0 comments Download
M content/browser/media/media_web_contents_observer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/media/media_web_contents_observer.cc View 1 2 chunks +25 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/content_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/1
4 years, 11 months ago (2016-01-15 18:12:22 UTC) #2
mlamouri (slow - plz ping)
Can you PTAL at: isherman@: tools/metrics/histograms/histograms.xml dalecurtis@: content/browser/media/audible_metrics.cc content/browser/media/audible_metrics.h content/browser/media/audible_metrics_unittest.cc content/browser/media/audio_stream_monitor.cc content/browser/media/audio_stream_monitor.h content/browser/media/media_web_contents_observer.cc content/browser/media/media_web_contents_observer.h jochen@: ...
4 years, 11 months ago (2016-01-15 18:13:41 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/153193)
4 years, 11 months ago (2016-01-15 18:41:42 UTC) #6
whywhat
Some drive-by nits https://codereview.chromium.org/1591453005/diff/1/content/browser/media/audible_metrics.h File content/browser/media/audible_metrics.h (right): https://codereview.chromium.org/1591453005/diff/1/content/browser/media/audible_metrics.h#newcode19 content/browser/media/audible_metrics.h:19: // It does register three different ...
4 years, 11 months ago (2016-01-15 19:01:20 UTC) #8
DaleCurtis
Nice cleanup and tests! Are you concerned about cases like multiple open streams in a ...
4 years, 11 months ago (2016-01-15 19:02:04 UTC) #10
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/1591453005/diff/1/content/browser/media/audible_metrics_unittest.cc File content/browser/media/audible_metrics_unittest.cc (right): https://codereview.chromium.org/1591453005/diff/1/content/browser/media/audible_metrics_unittest.cc#newcode16 content/browser/media/audible_metrics_unittest.cc:16: static WebContents* WEB_CONTENTS_0 = reinterpret_cast<WebContents*>(0x00); On ...
4 years, 11 months ago (2016-01-19 12:18:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/20001
4 years, 11 months ago (2016-01-19 12:19:11 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-19 13:58:05 UTC) #15
jochen (gone - plz use gerrit)
web_contents_impl.cc lgtm
4 years, 11 months ago (2016-01-19 17:32:03 UTC) #16
DaleCurtis
I think you missed a batch of comments on the first patch set. https://codereview.chromium.org/1591453005/diff/1/content/browser/media/audible_metrics.h File ...
4 years, 11 months ago (2016-01-19 18:36:53 UTC) #17
mlamouri (slow - plz ping)
Dale, I've applied the comments I missed. Sorry about that and thank you for your ...
4 years, 11 months ago (2016-01-19 19:26:36 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/40001
4 years, 11 months ago (2016-01-19 19:27:52 UTC) #21
DaleCurtis
lgtm % some minor nits. https://codereview.chromium.org/1591453005/diff/40001/content/browser/media/audible_metrics_unittest.cc File content/browser/media/audible_metrics_unittest.cc (right): https://codereview.chromium.org/1591453005/diff/40001/content/browser/media/audible_metrics_unittest.cc#newcode77 content/browser/media/audible_metrics_unittest.cc:77: scoped_ptr<AudibleMetrics> audible_metrics; This does ...
4 years, 11 months ago (2016-01-19 19:32:57 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/60001
4 years, 11 months ago (2016-01-19 19:54:40 UTC) #24
mlamouri (slow - plz ping)
All comments applied. mpearson@, PTAL at tools/metrics/ and metrics usage. https://codereview.chromium.org/1591453005/diff/40001/content/browser/media/audible_metrics_unittest.cc File content/browser/media/audible_metrics_unittest.cc (right): https://codereview.chromium.org/1591453005/diff/40001/content/browser/media/audible_metrics_unittest.cc#newcode77 ...
4 years, 11 months ago (2016-01-19 19:55:10 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-19 21:19:40 UTC) #28
Mark P
a number of minor comments below. Have you tested this interactively using about:histograms? If not, ...
4 years, 11 months ago (2016-01-20 00:19:16 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/80001
4 years, 11 months ago (2016-01-20 11:30:46 UTC) #31
mlamouri (slow - plz ping)
mpearson@, I have applied your comments. PTAL. And thanks for about:histograms. I used to use ...
4 years, 11 months ago (2016-01-20 11:31:52 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 12:58:30 UTC) #34
Mark P
histograms.xml lgtm
4 years, 11 months ago (2016-01-20 18:13:25 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591453005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591453005/80001
4 years, 11 months ago (2016-01-20 18:33:36 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-20 18:42:35 UTC) #39
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 18:43:43 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/44e4ef42ba9104b06ae212042452dfc81d89032b
Cr-Commit-Position: refs/heads/master@{#370435}

Powered by Google App Engine
This is Rietveld 408576698