|
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}
|
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
|
Total messages: 22 (7 generated)
|