|
Allow setContentDecryptionModule() to get called when setting is done.
Decoders can register to get notified when a Decryptor is set.
setContentDecryptionModule() provides a new Decryptor to
WebMediaPlayer. Since the decoders run on the media thread, it may
take some time for the old Decryptor to get detached and a new one
connected. Adding a callback to be used so that
setContentDecryptionModule() knows when the Decoders are done with
the notification. The additional callback is optional. This will be
used to resolve the setMediaKeys() promise on the blink side.
BUG= 358271
TEST=media unittests and EME layout tests pass
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289197
Total comments: 10
Total comments: 32
Total comments: 32
Total comments: 20
Total comments: 12
Total comments: 14
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+383 lines, -68 lines) |
Patch |
|
M |
content/renderer/media/android/webmediaplayer_android.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/android/webmediaplayer_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+80 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webmediaplayer_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webmediaplayer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+67 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/base/decryptor.h
|
View
|
1
2
3
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/base/test_helpers.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/test_helpers.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/audio_decoder_selector_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_audio_decoder.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_audio_decoder.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/decrypting_audio_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_demuxer_stream.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_demuxer_stream.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/decrypting_demuxer_stream_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_video_decoder.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/decrypting_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+21 lines, -14 lines |
0 comments
|
Download
|
|
M |
media/filters/pipeline_integration_test_base.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/pipeline_integration_test_base.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/video_decoder_selector_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/video_frame_stream_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+33 lines, -4 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|