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

Unified Diff: media/base/mock_filters.h

Issue 1027553002: Change the TimeSource interface to return wallclock time for video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove underflow changes. Created 5 years, 9 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 | « no previous file | media/base/time_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 9731fd0ff9ced3a61496bea0caa80f37e42155d4..c4249c500632f2d608e9dc0806780cbe27cbac6a 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -130,7 +130,7 @@ class MockVideoRenderer : public VideoRenderer {
const PaintCB& paint_cb,
const base::Closure& ended_cb,
const PipelineStatusCB& error_cb,
- const TimeDeltaCB& get_time_cb,
+ const WallClockTimeCB& wall_clock_time_cb,
const base::Closure& waiting_for_decryption_key_cb));
MOCK_METHOD1(Flush, void(const base::Closure& callback));
MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta));
@@ -204,7 +204,7 @@ class MockTimeSource : public TimeSource {
MOCK_METHOD1(SetPlaybackRate, void(float));
MOCK_METHOD1(SetMediaTime, void(base::TimeDelta));
MOCK_METHOD0(CurrentMediaTime, base::TimeDelta());
- MOCK_METHOD0(CurrentMediaTimeForSyncingVideo, base::TimeDelta());
+ MOCK_METHOD1(GetWallClockTime, base::TimeTicks(base::TimeDelta));
private:
DISALLOW_COPY_AND_ASSIGN(MockTimeSource);
« no previous file with comments | « no previous file | media/base/time_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698