|
Introduce the ENABLE_BROWSER_CDMS macro.
This will be defined when a platform needs to use browser side CDM to implement
EME API. Currently this is only used on Android.
Note that MediaWebContentsObserver is shared by Android media player managers
and browser CDM managers. Since ENABLE_BROWSER_CDMS is always true on Android,
we only check ENABLE_BROWSER_CDMS to decide whether MediaWebContentsObserver
should be used. Also, in media_web_contents_observer.*, we only check
OS_ANDROID to decide whether Android media player code should be used. This is
not perfect but makes the current code simple. This will be fixed when we have
a general (not Android specic) media player manager.
TBR=yfriedman@chromium.org
BUG= 315312
TEST=Compiles on Android. Test pages still work on Android. Compiles when I choose to use browser CDM on Linux.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276200
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -827 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
1
2
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/android/child_process_launcher_android.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/surface_texture_peer_browser_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
content/browser/media/android/browser_cdm_manager.h
|
View
|
1
2
|
1 chunk |
+0 lines, -125 lines |
0 comments
|
Download
|
|
D |
content/browser/media/android/browser_cdm_manager.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -294 lines |
0 comments
|
Download
|
|
D |
content/browser/media/android/media_web_contents_observer.h
|
View
|
|
1 chunk |
+0 lines, -75 lines |
0 comments
|
Download
|
|
D |
content/browser/media/android/media_web_contents_observer.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -198 lines |
0 comments
|
Download
|
|
A + |
content/browser/media/cdm/browser_cdm_manager.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
content/browser/media/cdm/browser_cdm_manager.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
content/browser/media/media_web_contents_observer.h
|
View
|
1
2
3
4
|
5 chunks |
+24 lines, -14 lines |
0 comments
|
Download
|
|
A + |
content/browser/media/media_web_contents_observer.cc
|
View
|
1
2
3
4
|
6 chunks |
+56 lines, -47 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/cdm_session_adapter.h
|
View
|
1
2
3
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/cdm_session_adapter.cc
|
View
|
1
2
3
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/content_decryption_module_factory.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/content_decryption_module_factory.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/proxy_decryptor.h
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/proxy_decryptor.cc
|
View
|
1
2
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webcontentdecryptionmodule_impl.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webcontentdecryptionmodule_impl.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webmediaplayer_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
|
4 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
|
5 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/base/browser_cdm.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
media/media.gyp
|
View
|
1
2
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
Total messages: 27 (0 generated)
|