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

Issue 2387293007: Register MediaPlayerRenderer service (Closed)

Created:
4 years, 2 months ago by tguilbert
Modified:
4 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, qsr+mojo_chromium.org, Aaron Boodman, avayvod+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, alokp+watch_chromium.org, darin (slow to review), viettrungluu+watch_chromium.org, mlamouri+watch-media_chromium.org, xhwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Register MediaPlayerRenderer service This change adds the necessary code to allow the creation of a MediaPlayerRenderer for HLS playback. The service's registration is disabled by default, and enabled by a runtime flag. To use the player, add the following flag to your command line. "--enable-features=android-media-player-renderer" The leftover issues before the MediaPlayerRenderer can be officially shipped and before WMPA can be deleted are tracked by the issues blocking crbug.com/619729. BUG=619729 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/25a4d110be98f53dd4f9608740a283deed34fb6b Cr-Commit-Position: refs/heads/master@{#425176}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressed comments #

Total comments: 30

Patch Set 3 : addressed comments #

Patch Set 4 : Fixed two merge erros/typos #

Patch Set 5 : Added nogncheck #

Total comments: 1

Patch Set 6 : Typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -50 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 4 chunks +33 lines, -2 lines 0 comments Download
M content/browser/media/android/media_player_renderer.cc View 1 2 2 chunks +13 lines, -9 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 chunks +33 lines, -13 lines 0 comments Download
M media/base/media_switches.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 2 2 chunks +43 lines, -16 lines 0 comments Download
M media/base/pipeline_metadata.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M media/blink/watch_time_reporter.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 7 chunks +17 lines, -1 line 0 comments Download
M media/mojo/clients/mojo_renderer.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M media/mojo/clients/mojo_renderer_factory.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M media/remoting/remoting_controller.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
tguilbert
PTAL! There are a few "For reviewers" scattered around. I also know there is some ...
4 years, 2 months ago (2016-10-06 02:11:39 UTC) #3
liberato (no reviews please)
haven't gone through in detail. just had a few questions that jumped out at me. ...
4 years, 2 months ago (2016-10-06 14:55:46 UTC) #4
liberato (no reviews please)
more high-level stuff. sorry that it's not all at one time. -fl https://codereview.chromium.org/2387293007/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc ...
4 years, 2 months ago (2016-10-07 20:17:38 UTC) #5
tguilbert
Changed from a compile time flag to a switch. FWIW, I never found how to ...
4 years, 2 months ago (2016-10-11 18:54:34 UTC) #6
watk
lgtm https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode2194 content/browser/frame_host/render_frame_host_impl.cc:2194: if (base::FeatureList::IsEnabled(media::kEnableMediaPlayerRenderer)) { Feature should not have "enable" ...
4 years, 2 months ago (2016-10-11 23:49:35 UTC) #7
liberato (no reviews please)
lgtm. https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode111 content/browser/frame_host/render_frame_host_impl.cc:111: // TODO(tguilbert): For-reviewers -- Is there a convenient ...
4 years, 2 months ago (2016-10-12 15:15:18 UTC) #8
xhwang
some drive-by comments/nits https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode231 content/browser/frame_host/render_frame_host_impl.cc:231: media::MojoRendererService::Create(nullptr, nullptr, nullptr, add a comment ...
4 years, 2 months ago (2016-10-12 20:14:15 UTC) #9
tguilbert
PTAL. nick, can you OWNERS review content/*? Thank you! Thomas https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2387293007/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode111 ...
4 years, 2 months ago (2016-10-12 21:46:25 UTC) #11
ncarter (slow)
The description references a 'compile flag', but it looks like you're using a base::Feature, which ...
4 years, 2 months ago (2016-10-12 21:51:27 UTC) #12
tguilbert
On 2016/10/12 21:51:27, ncarter wrote: > The description references a 'compile flag', but it looks ...
4 years, 2 months ago (2016-10-12 22:58:01 UTC) #14
ncarter (slow)
content lgtm https://codereview.chromium.org/2387293007/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2387293007/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode118 content/browser/frame_host/render_frame_host_impl.cc:118: #include "media/mojo/services/mojo_renderer_service.h" //nogncheck should be: [space][space]//[space]nogncheck
4 years, 2 months ago (2016-10-13 17:01:18 UTC) #24
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/2387293007/100001
4 years, 2 months ago (2016-10-13 20:16:11 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-13 21:57:18 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 21:59:18 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/25a4d110be98f53dd4f9608740a283deed34fb6b
Cr-Commit-Position: refs/heads/master@{#425176}

Powered by Google App Engine
This is Rietveld 408576698