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

Issue 1047313002: media-internals: Simplify the code path for creating a media log entry (Closed)

Created:
5 years, 8 months ago by wolenetz
Modified:
5 years, 8 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, Aaron Boodman, posciak+watch_chromium.org, avayvod+watch_chromium.org, viettrungluu+watch_chromium.org, jam, mcasas+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@MEDIA_LOG_INFO_ERROR_DEBUG
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media-internals: Simplify the code path for creating a media log entry Changes MediaLog::CreateLogEvent() to instead be a helper AddLogEvent() that both creates and adds the event, and has signature and utility matching LogCB. This means various media code pieces no longer must have their own LogCB implementations that CreateLogEvent()+AddEvent(). BUG=471902, 260005 TEST=no media_unittest, layout, or chrome://media-internals log regression observed Committed: https://crrev.com/aafe49fe9061c489906351db41c318473d1951af Cr-Commit-Position: refs/heads/master@{#323149}

Patch Set 1 #

Patch Set 2 : Comment the new method #

Patch Set 3 : Fix compile on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -45 lines) Patch
M content/renderer/media/android/media_source_delegate.cc View 1 2 3 chunks +4 lines, -8 lines 0 comments Download
M media/base/media_log.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M media/base/media_log.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 3 chunks +2 lines, -8 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 2 chunks +1 line, -10 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
wolenetz
Dale, this CL is motivated by your comment at https://codereview.chromium.org/1041353002/diff/20001/media/mojo/services/mojo_renderer_service.cc#newcode31 Please take a look at ...
5 years, 8 months ago (2015-03-31 21:01:01 UTC) #2
DaleCurtis
lgtm
5 years, 8 months ago (2015-03-31 21:08:50 UTC) #3
wolenetz
Thanks for review! I'll send to CQ once https://codereview.chromium.org/1041353002/ lands.
5 years, 8 months ago (2015-03-31 21:12:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047313002/20001
5 years, 8 months ago (2015-03-31 22:07:35 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/73859)
5 years, 8 months ago (2015-03-31 22:26:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047313002/40001
5 years, 8 months ago (2015-03-31 23:01:08 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-01 00:07:02 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/aafe49fe9061c489906351db41c318473d1951af Cr-Commit-Position: refs/heads/master@{#323149}
5 years, 8 months ago (2015-04-01 00:08:18 UTC) #13
jianli
5 years, 8 months ago (2015-04-01 00:34:38 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1049393002/ by jianli@chromium.org.

The reason for reverting is:
http://build.chromium.org/p/chromium.webkit/builders/Mac%20Builder%20%28dbg%2....

Powered by Google App Engine
This is Rietveld 408576698