Index: media/base/mock_filters.h |
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h |
index f60c9cdf8f46419231e2e9faa629f514eb42b566..d1c150a1128e350337140c6b22786a06a903afa2 100644 |
--- a/media/base/mock_filters.h |
+++ b/media/base/mock_filters.h |
@@ -18,6 +18,7 @@ |
#include "media/base/decoder_buffer.h" |
#include "media/base/decryptor.h" |
#include "media/base/demuxer.h" |
+#include "media/base/media_tracks.h" |
#include "media/base/pipeline.h" |
#include "media/base/pipeline_status.h" |
#include "media/base/renderer.h" |
@@ -115,6 +116,10 @@ class MockDemuxer : public Demuxer { |
MOCK_CONST_METHOD0(GetTimelineOffset, base::Time()); |
MOCK_CONST_METHOD0(GetMemoryUsage, int64_t()); |
+ MOCK_METHOD2(OnTrackIdsAssigned, |
+ void(const MediaTracks&, const std::vector<unsigned>&)); |
+ MOCK_CONST_METHOD1(GetDemuxerStreamByTrackId, const DemuxerStream*(unsigned)); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(MockDemuxer); |
}; |