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

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: Created 6 years, 5 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
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..3b1026d6ac620dab2c806e2f66e8c9085ac0dbd6 100644
--- a/media/filters/decrypting_demuxer_stream.h
+++ b/media/filters/decrypting_demuxer_stream.h
@@ -68,7 +68,7 @@ class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream {
};
// Callback for DecryptorHost::RequestDecryptor().
- void SetDecryptor(Decryptor* decryptor);
+ void SetDecryptor(Decryptor* decryptor, base::Closure done_cb);
xhwang 2014/07/29 20:58:07 pass callbacks by const-ref: const base::Closure&
xhwang 2014/07/29 20:58:07 Update comment about |done_cb|.
jrummell 2014/07/30 00:15:13 Done.
jrummell 2014/07/30 00:15:13 Done.
// Callback for DemuxerStream::Read().
void DecryptBuffer(DemuxerStream::Status status,

Powered by Google App Engine
This is Rietveld 408576698