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

Unified Diff: media/filters/ffmpeg_video_decoder_unittest.cc

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/ffmpeg_video_decoder.cc ('k') | media/filters/gpu_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder_unittest.cc
diff --git a/media/filters/ffmpeg_video_decoder_unittest.cc b/media/filters/ffmpeg_video_decoder_unittest.cc
index a0d77fd10b72e87541222336034442c75b2271a1..23ee1961a75eeb9efc524c7477edec109860713c 100644
--- a/media/filters/ffmpeg_video_decoder_unittest.cc
+++ b/media/filters/ffmpeg_video_decoder_unittest.cc
@@ -47,8 +47,8 @@ class FFmpegVideoDecoderTest : public testing::Test {
public:
FFmpegVideoDecoderTest()
: decoder_(new FFmpegVideoDecoder(message_loop_.message_loop_proxy())),
- read_cb_(base::Bind(&FFmpegVideoDecoderTest::FrameReady,
- base::Unretained(this))) {
+ decode_cb_(base::Bind(&FFmpegVideoDecoderTest::FrameReady,
+ base::Unretained(this))) {
FFmpegGlue::InitializeFFmpeg();
// Initialize various test buffers.
@@ -217,7 +217,7 @@ class FFmpegVideoDecoderTest : public testing::Test {
EXPECT_CALL(*this, FrameReady(_, _))
.WillOnce(DoAll(SaveArg<0>(status), SaveArg<1>(video_frame)));
- decoder_->Decode(buffer, read_cb_);
+ decoder_->Decode(buffer, decode_cb_);
message_loop_.RunUntilIdle();
}
@@ -228,7 +228,7 @@ class FFmpegVideoDecoderTest : public testing::Test {
base::MessageLoop message_loop_;
scoped_ptr<FFmpegVideoDecoder> decoder_;
- VideoDecoder::ReadCB read_cb_;
+ VideoDecoder::DecodeCB decode_cb_;
// Various buffers for testing.
scoped_ptr<uint8_t[]> frame_buffer_;
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | media/filters/gpu_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698