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

Unified Diff: media/base/mock_filters.h

Issue 2237243002: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | media/base/pipeline_impl.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 598860f937ab090e83ae2ceef74bc949ec6e1989..e42e6c682d02e7c9d0f69bebc6dbf919b871d351 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -226,6 +226,8 @@ class MockRendererClient : public RendererClient {
MOCK_METHOD0(OnWaitingForDecryptionKey, void());
MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&));
MOCK_METHOD1(OnVideoOpacityChange, void(bool));
+ MOCK_METHOD3(OnTimeUpdate,
+ void(base::TimeDelta, base::TimeDelta, base::TimeTicks));
};
class MockVideoRenderer : public VideoRenderer {
@@ -303,7 +305,7 @@ class MockTimeSource : public TimeSource {
MOCK_METHOD0(StopTicking, void());
MOCK_METHOD1(SetPlaybackRate, void(double));
MOCK_METHOD1(SetMediaTime, void(base::TimeDelta));
- MOCK_METHOD0(CurrentMediaTime, base::TimeDelta());
+ MOCK_METHOD1(CurrentMediaTime, base::TimeDelta(base::TimeTicks*));
MOCK_METHOD2(GetWallClockTimes,
bool(const std::vector<base::TimeDelta>&,
std::vector<base::TimeTicks>*));
« no previous file with comments | « no previous file | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698