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

Unified Diff: media/filters/decrypting_audio_decoder.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: ReportCallback 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
Index: media/filters/decrypting_audio_decoder.h
diff --git a/media/filters/decrypting_audio_decoder.h b/media/filters/decrypting_audio_decoder.h
index 70cbc5632268c13130e6e6231bc6901a43b80f69..34547424eec0bd235f1502959b203304b885d036 100644
--- a/media/filters/decrypting_audio_decoder.h
+++ b/media/filters/decrypting_audio_decoder.h
@@ -66,8 +66,10 @@ class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
kError
};
- // Callback for DecryptorHost::RequestDecryptor().
- void SetDecryptor(Decryptor* decryptor);
+ // Callback for DecryptorHost::RequestDecryptor(). |attach_done_cb| is called
+ // when the decryptor has been completely attached to the pipeline.
+ void SetDecryptor(Decryptor* decryptor,
+ const DecryptorAttachedCB& attach_done_cb);
xhwang 2014/08/09 00:56:03 nit: s/attach_done_cb/decryptor_attached_cb to be
jrummell 2014/08/11 21:47:15 Done.
// Initializes the audio decoder on the |decryptor_| with |config_|.
void InitializeDecoder();

Powered by Google App Engine
This is Rietveld 408576698