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

Unified Diff: media/formats/webm/webm_stream_parser_unittest.cc

Issue 2254093002: Return buffers from StreamParsers in a single unified map (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restored calling GetBuffers after each Parse in WebM test Created 4 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
« no previous file with comments | « media/formats/webm/webm_stream_parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_stream_parser_unittest.cc
diff --git a/media/formats/webm/webm_stream_parser_unittest.cc b/media/formats/webm/webm_stream_parser_unittest.cc
index 6a413951d907c3d51b4e68603077c312735a7758..03cf928f050b8aab2460fba3d18bedad198e7d39 100644
--- a/media/formats/webm/webm_stream_parser_unittest.cc
+++ b/media/formats/webm/webm_stream_parser_unittest.cc
@@ -38,7 +38,7 @@ class WebMStreamParserTest : public testing::Test {
EXPECT_CALL(*this, InitCB(_));
EXPECT_CALL(*this, NewMediaSegmentCB()).Times(testing::AnyNumber());
EXPECT_CALL(*this, EndMediaSegmentCB()).Times(testing::AnyNumber());
- EXPECT_CALL(*this, NewBuffersCB(_, _, _))
+ EXPECT_CALL(*this, NewBuffersCB(_))
.Times(testing::AnyNumber())
.WillRepeatedly(testing::Return(true));
parser_->Init(
@@ -79,10 +79,7 @@ class WebMStreamParserTest : public testing::Test {
return true;
}
- MOCK_METHOD3(NewBuffersCB,
- bool(const StreamParser::BufferQueue&,
- const StreamParser::BufferQueue&,
- const StreamParser::TextBufferQueueMap&));
+ MOCK_METHOD1(NewBuffersCB, bool(const StreamParser::BufferQueueMap&));
MOCK_METHOD2(OnEncryptedMediaInitData,
void(EmeInitDataType init_data_type,
const std::vector<uint8_t>& init_data));
« no previous file with comments | « media/formats/webm/webm_stream_parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698