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

Unified Diff: media/filters/decrypting_video_decoder.h

Issue 11428095: Pass in media message loop to VideoRendererBase and enforce calling on the right thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GVD Created 8 years 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/base/bind_to_loop.h ('k') | media/filters/decrypting_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_video_decoder.h
diff --git a/media/filters/decrypting_video_decoder.h b/media/filters/decrypting_video_decoder.h
index 1d8996ac395a76f12cf775bddf51cabcf1eacfab..45a8058457049b9570dd95c087574d848a508fbc 100644
--- a/media/filters/decrypting_video_decoder.h
+++ b/media/filters/decrypting_video_decoder.h
@@ -74,25 +74,17 @@ class MEDIA_EXPORT DecryptingVideoDecoder : public VideoDecoder {
kStopped
};
- // Carries out the initialization operation scheduled by Initialize().
- void DoInitialize(const scoped_refptr<DemuxerStream>& stream,
- const PipelineStatusCB& status_cb,
- const StatisticsCB& statistics_cb);
-
// Callback for DecryptorHost::RequestDecryptor().
void SetDecryptor(Decryptor* decryptor);
// Callback for Decryptor::InitializeVideoDecoder().
void FinishInitialization(bool success);
- // Carries out the buffer reading operation scheduled by Read().
- void DoRead(const ReadCB& read_cb);
-
void ReadFromDemuxerStream();
// Callback for DemuxerStream::Read().
- void DoDecryptAndDecodeBuffer(DemuxerStream::Status status,
- const scoped_refptr<DecoderBuffer>& buffer);
+ void DecryptAndDecodeBuffer(DemuxerStream::Status status,
+ const scoped_refptr<DecoderBuffer>& buffer);
void DecodePendingBuffer();
@@ -101,11 +93,6 @@ class MEDIA_EXPORT DecryptingVideoDecoder : public VideoDecoder {
Decryptor::Status status,
const scoped_refptr<VideoFrame>& frame);
- // Carries out the frame delivery operation scheduled by DeliverFrame().
- void DoDeliverFrame(int buffer_size,
- Decryptor::Status status,
- const scoped_refptr<VideoFrame>& frame);
-
// Callback for the |decryptor_| to notify this object that a new key has been
// added.
void OnKeyAdded();
« no previous file with comments | « media/base/bind_to_loop.h ('k') | media/filters/decrypting_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698