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

Issue 1690213002: Reland "media: Refactor MojoMediaClient" with fix. (Closed)

Created:
4 years, 10 months ago by xhwang
Modified:
4 years, 10 months ago
Reviewers:
Nico, jam, alokp
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, Peter Beverloo, lcwu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, halliwell+watch_chromium.org, gunsch+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "media: Refactor MojoMediaClient" with fix. This reverts commit 29775799918ebeb0f2aedd554722e3db0c6211c2. Instead of specifying a platform based MojoMediaClient at compile time, provide the capability of setting one at run time. This improves the flexibility of using MojoMediaApplication in different cases. For example, on desktop, we may want to run the MojoMediaApplication in the utility process (for the CDM service) and in the GPU process (for hardware decoding). In those two cases, we'll want to specify two different MojoMediaClients even though we are on the same platform. TBR=alokp@chromium.org BUG=570357, 571155 Committed: https://crrev.com/9e7fb9413f358a2bad6158437b56fa63e50b6f8a Cr-Commit-Position: refs/heads/master@{#375352}

Patch Set 1 : Original Change #

Patch Set 2 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -153 lines) Patch
M chrome/browser/BUILD.gn View 1 chunk +4 lines, -2 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chromecast/media/mojo/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + chromecast/media/mojo/cast_mojo_media_client.h View 1 chunk +14 lines, -14 lines 0 comments Download
M chromecast/media/mojo/cast_mojo_media_client.cc View 1 chunk +16 lines, -21 lines 0 comments Download
M content/shell/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M media/mojo/services/BUILD.gn View 2 chunks +8 lines, -14 lines 0 comments Download
A media/mojo/services/android_mojo_media_client.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
M media/mojo/services/android_mojo_media_client.cc View 3 chunks +10 lines, -20 lines 0 comments Download
A media/mojo/services/default_mojo_media_client.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
M media/mojo/services/default_mojo_media_client.cc View 2 chunks +43 lines, -63 lines 0 comments Download
M media/mojo/services/main.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_cdm_service_context.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M media/mojo/services/mojo_media_application.h View 3 chunks +16 lines, -1 line 0 comments Download
M media/mojo/services/mojo_media_application.cc View 2 chunks +31 lines, -6 lines 0 comments Download
M media/mojo/services/mojo_media_client.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M media/mojo/services/mojo_renderer_factory.h View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 22 (7 generated)
xhwang
Current mojo media is a source_set which is directly linked into the dependent library (e.g. ...
4 years, 10 months ago (2016-02-12 08:21:05 UTC) #1
xhwang
4 years, 10 months ago (2016-02-12 18:25:06 UTC) #3
xhwang
I don't have a Windows environment right now to try this. But I *think* this ...
4 years, 10 months ago (2016-02-12 18:27:43 UTC) #4
jam
On 2016/02/12 18:27:43, xhwang wrote: > I don't have a Windows environment right now to ...
4 years, 10 months ago (2016-02-12 19:20:25 UTC) #5
Nico
On 2016/02/12 19:20:25, jam wrote: > On 2016/02/12 18:27:43, xhwang wrote: > > I don't ...
4 years, 10 months ago (2016-02-12 19:23:25 UTC) #6
xhwang
On 2016/02/12 19:23:25, Nico wrote: > On 2016/02/12 19:20:25, jam wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 22:14:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690213002/20001
4 years, 10 months ago (2016-02-12 22:16:31 UTC) #10
Nico
On 2016/02/12 22:14:54, xhwang wrote: > On 2016/02/12 19:23:25, Nico wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 22:17:00 UTC) #11
xhwang
On 2016/02/12 22:17:00, Nico wrote: > On 2016/02/12 22:14:54, xhwang wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 22:22:37 UTC) #13
jam
On 2016/02/12 22:14:54, xhwang wrote: > On 2016/02/12 19:23:25, Nico wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 23:26:40 UTC) #14
Nico
things are looking pretty good at https://build.chromium.org/p/tryserver.chromium.win/builders/win_clang_x64_dbg/builds/125/steps/compile%20%28with%20patch%29/logs/stdio ; hitting cq now
4 years, 10 months ago (2016-02-13 05:43:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690213002/20001
4 years, 10 months ago (2016-02-13 05:43:48 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-13 05:48:16 UTC) #19
hiroshige
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1702453002/ by hiroshige@chromium.org. ...
4 years, 10 months ago (2016-02-15 17:14:59 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:47:35 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9e7fb9413f358a2bad6158437b56fa63e50b6f8a
Cr-Commit-Position: refs/heads/master@{#375352}

Powered by Google App Engine
This is Rietveld 408576698