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

Unified Diff: media/base/mock_filters.h

Issue 1812543003: Allow muting/unmuting audio through media track API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-sb-tracks6
Patch Set: rebase Created 4 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
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index f60c9cdf8f46419231e2e9faa629f514eb42b566..c43406c80530dbcb6fe5e3c0a05d627154e630b3 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -115,6 +115,9 @@ class MockDemuxer : public Demuxer {
MOCK_CONST_METHOD0(GetTimelineOffset, base::Time());
MOCK_CONST_METHOD0(GetMemoryUsage, int64_t());
+ MOCK_METHOD2(OnTrackIdAssigned, void(unsigned, const MediaTrack*));
+ MOCK_CONST_METHOD1(GetDemuxerStreamByTrackId, const DemuxerStream*(unsigned));
+
private:
DISALLOW_COPY_AND_ASSIGN(MockDemuxer);
};

Powered by Google App Engine
This is Rietveld 408576698