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

Unified Diff: media/filters/decrypting_demuxer_stream.h

Issue 416333011: Allow setContentDecryptionModule() to get called when setting is done. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + android tweaks Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/decrypting_audio_decoder_unittest.cc ('k') | media/filters/decrypting_demuxer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_demuxer_stream.h
diff --git a/media/filters/decrypting_demuxer_stream.h b/media/filters/decrypting_demuxer_stream.h
index c65df176fa003432d12d4db8932dc8a7fa9cc37e..b98727751f36c6704e178942fb6bf3c3b4bfde73 100644
--- a/media/filters/decrypting_demuxer_stream.h
+++ b/media/filters/decrypting_demuxer_stream.h
@@ -67,8 +67,10 @@ class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream {
kWaitingForKey
};
- // Callback for DecryptorHost::RequestDecryptor().
- void SetDecryptor(Decryptor* decryptor);
+ // Callback for DecryptorHost::RequestDecryptor(). |decryptor_attached_cb| is
+ // called when the decryptor has been completely attached to the pipeline.
+ void SetDecryptor(Decryptor* decryptor,
+ const DecryptorAttachedCB& decryptor_attached_cb);
// Callback for DemuxerStream::Read().
void DecryptBuffer(DemuxerStream::Status status,
« no previous file with comments | « media/filters/decrypting_audio_decoder_unittest.cc ('k') | media/filters/decrypting_demuxer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698