Index: media/filters/decrypting_video_decoder.h |
diff --git a/media/filters/decrypting_video_decoder.h b/media/filters/decrypting_video_decoder.h |
index a1f43edfeac27d37a681fd53aadd3e227736eef0..98cc47b841c59bc29a802c0f30a87440844551d9 100644 |
--- a/media/filters/decrypting_video_decoder.h |
+++ b/media/filters/decrypting_video_decoder.h |
@@ -55,8 +55,10 @@ class MEDIA_EXPORT DecryptingVideoDecoder : public VideoDecoder { |
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); |
// Callback for Decryptor::InitializeVideoDecoder() during initialization. |
void FinishInitialization(bool success); |