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

Unified Diff: media/formats/common/stream_parser_test_base.cc

Issue 254473006: Add media::StreamParser::StreamParameter struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/common/stream_parser_test_base.h ('k') | media/formats/mp2t/mp2t_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/common/stream_parser_test_base.cc
diff --git a/media/formats/common/stream_parser_test_base.cc b/media/formats/common/stream_parser_test_base.cc
index cf739a54872765c9b86597c17e604765a5391bb6..1d5f4b9c0c21260b38a47bf13685492fe3f45096 100644
--- a/media/formats/common/stream_parser_test_base.cc
+++ b/media/formats/common/stream_parser_test_base.cc
@@ -72,14 +72,13 @@ bool StreamParserTestBase::AppendDataInPieces(const uint8* data,
return true;
}
-void StreamParserTestBase::OnInitDone(bool success,
- base::TimeDelta duration,
- base::Time wallclock_timeline_offset,
- bool auto_update_timestamp_offset) {
- EXPECT_TRUE(auto_update_timestamp_offset);
+void StreamParserTestBase::OnInitDone(
+ bool success,
+ const StreamParser::InitParameters& params) {
+ EXPECT_TRUE(params.auto_update_timestamp_offset);
DVLOG(1) << __FUNCTION__ << "(" << success << ", "
- << duration.InMilliseconds() << ", " << auto_update_timestamp_offset
- << ")";
+ << params.duration.InMilliseconds() << ", "
+ << params.auto_update_timestamp_offset << ")";
}
bool StreamParserTestBase::OnNewConfig(
« no previous file with comments | « media/formats/common/stream_parser_test_base.h ('k') | media/formats/mp2t/mp2t_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698