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

Issue 2819973002: Fix incorrect collation of media logs. (Closed)

Created:
3 years, 8 months ago by DaleCurtis
Modified:
3 years, 8 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix incorrect collation of media logs. http://crrev.com/463025 incorrectly started using a global MediaLog instance for each RenderFrame. The RendererMediaLog uses an internal counter for routing and collating player logs, so doing this causes all logs for a render frame to end up in the same player. This patch reverts that portion of the change; though it's questionable if WebEncryptedMediaClientImpl() should actually be given a MediaLog just for logging RAPPOR entries. Presumably there is another mechanism that could accomplish this. BUG=695264, 711818 TEST=unittest TBD, manually verified cnn.com, internetradio.com each create a new button entry in chrome://media-internals. Watch time logs are properly recorded. Review-Url: https://codereview.chromium.org/2819973002 Cr-Commit-Position: refs/heads/master@{#464844} Committed: https://chromium.googlesource.com/chromium/src/+/f4f7b3aad31bbce44c84dd2cdbd2400a90f87d51

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add todo, save value. #

Patch Set 3 : Fix typo in comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -23 lines) Patch
M content/renderer/render_frame_impl.h View 3 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 7 chunks +15 lines, -17 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (9 generated)
DaleCurtis
Fixes M59 beta blocker regression in media logging.
3 years, 8 months ago (2017-04-14 22:42:53 UTC) #2
xhwang
Good catch. LGTM % nit https://codereview.chromium.org/2819973002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2819973002/diff/1/content/renderer/render_frame_impl.cc#newcode2847 content/renderer/render_frame_impl.cc:2847: // a new player ...
3 years, 8 months ago (2017-04-14 22:56:42 UTC) #5
Avi (use Gerrit)
lgtm stamp
3 years, 8 months ago (2017-04-15 00:01:30 UTC) #6
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/2819973002/40001
3 years, 8 months ago (2017-04-15 00:10:31 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/430658)
3 years, 8 months ago (2017-04-15 00:51:27 UTC) #11
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/2819973002/40001
3 years, 8 months ago (2017-04-15 01:02:28 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-15 01:23:00 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f4f7b3aad31bbce44c84dd2cdbd2...

Powered by Google App Engine
This is Rietveld 408576698