Index: media/base/mock_filters.h |
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h |
index 0e2a11e325bb8020f0baf87d20a554f4a057ecff..af07f85e76c55f4a3cdd050117e4ab92aac9fc29 100644 |
--- a/media/base/mock_filters.h |
+++ b/media/base/mock_filters.h |
@@ -67,6 +67,8 @@ class MockPipeline : public Pipeline { |
Client*, |
const PipelineStatusCB&)); |
MOCK_METHOD0(Stop, void()); |
+ MOCK_METHOD2(RestartStreamPlayback, |
+ void(DemuxerStream* stream, base::TimeDelta time)); |
MOCK_METHOD2(Seek, void(base::TimeDelta, const PipelineStatusCB&)); |
MOCK_METHOD1(Suspend, void(const PipelineStatusCB&)); |
MOCK_METHOD3(Resume, |
@@ -151,6 +153,8 @@ class MockDemuxerStream : public DemuxerStream { |
void set_liveness(Liveness liveness); |
VideoRotation video_rotation() override; |
+ MOCK_CONST_METHOD0(enabled, bool()); |
+ MOCK_METHOD2(set_enabled, void(bool, base::TimeDelta)); |
private: |
Type type_; |
@@ -272,6 +276,8 @@ class MockRenderer : public Renderer { |
const PipelineStatusCB& init_cb)); |
MOCK_METHOD1(Flush, void(const base::Closure& flush_cb)); |
MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta timestamp)); |
+ MOCK_METHOD2(RestartStreamPlayback, |
+ void(DemuxerStream* stream, base::TimeDelta time)); |
MOCK_METHOD1(SetPlaybackRate, void(double playback_rate)); |
MOCK_METHOD1(SetVolume, void(float volume)); |
MOCK_METHOD0(GetMediaTime, base::TimeDelta()); |