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

Unified Diff: media/base/pipeline_unittest.cc

Issue 236023003: Add WebMediaPlayer::timelineOffset() support to WebMediaPlayerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments 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/base/pipeline.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_unittest.cc
diff --git a/media/base/pipeline_unittest.cc b/media/base/pipeline_unittest.cc
index b402a6bbb16af52200edc273c95a2c84a8213db3..c266b4ec95c4569cbe8e38df85c30d23f6581ae7 100644
--- a/media/base/pipeline_unittest.cc
+++ b/media/base/pipeline_unittest.cc
@@ -108,6 +108,9 @@ class PipelineTest : public ::testing::Test {
EXPECT_CALL(*demuxer_, GetStartTime())
.WillRepeatedly(Return(base::TimeDelta()));
+
+ EXPECT_CALL(*demuxer_, GetTimelineOffset())
+ .WillRepeatedly(Return(base::Time()));
}
virtual ~PipelineTest() {
@@ -659,7 +662,7 @@ TEST_F(PipelineTest, AudioStreamShorterThanVideo) {
streams.push_back(audio_stream());
streams.push_back(video_stream());
- // Replace the clock so we can simulate wallclock time advancing w/o using
+ // Replace the clock so we can simulate wall clock time advancing w/o using
// Sleep().
pipeline_->SetClockForTesting(new Clock(&test_tick_clock_));
« no previous file with comments | « media/base/pipeline.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698