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

Unified Diff: media/filters/fake_video_decoder.h

Issue 20136002: Reland r212023 "Rename VideoDecoder::ReadCB to VideoDecoder::DecodeCB." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests failure. Created 7 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
« no previous file with comments | « media/filters/decrypting_video_decoder_unittest.cc ('k') | media/filters/fake_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/fake_video_decoder.h
diff --git a/media/filters/fake_video_decoder.h b/media/filters/fake_video_decoder.h
index d58e0745037fdaf1cff662c993363d6d69b0b028..c1cf1a6a4cf6e5c87b6632c886e2c76a92315c7d 100644
--- a/media/filters/fake_video_decoder.h
+++ b/media/filters/fake_video_decoder.h
@@ -37,7 +37,7 @@ class FakeVideoDecoder : public VideoDecoder {
virtual void Initialize(const VideoDecoderConfig& config,
const PipelineStatusCB& status_cb) OVERRIDE;
virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer,
- const ReadCB& read_cb) OVERRIDE;
+ const DecodeCB& decode_cb) OVERRIDE;
virtual void Reset(const base::Closure& closure) OVERRIDE;
virtual void Stop(const base::Closure& closure) OVERRIDE;
@@ -64,7 +64,7 @@ class FakeVideoDecoder : public VideoDecoder {
// Callback for updating |total_bytes_decoded_|.
void OnFrameDecoded(int buffer_size,
- const ReadCB& read_cb,
+ const DecodeCB& read_cb,
Status status,
const scoped_refptr<VideoFrame>& video_frame);
@@ -80,7 +80,7 @@ class FakeVideoDecoder : public VideoDecoder {
State state_;
CallbackHolder<PipelineStatusCB> init_cb_;
- CallbackHolder<ReadCB> read_cb_;
+ CallbackHolder<DecodeCB> decode_cb_;
CallbackHolder<base::Closure> reset_cb_;
CallbackHolder<base::Closure> stop_cb_;
« no previous file with comments | « media/filters/decrypting_video_decoder_unittest.cc ('k') | media/filters/fake_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698