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

Unified Diff: media/base/fake_text_track_stream.h

Issue 1935873002: Implement disabling and enabling media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-control2
Patch Set: rebase Created 4 years, 6 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 | « media/base/fake_demuxer_stream.cc ('k') | media/base/fake_text_track_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_text_track_stream.h
diff --git a/media/base/fake_text_track_stream.h b/media/base/fake_text_track_stream.h
index c21f577294dea0172c6486053758f3a6ffef9a94..1e3c0a5472e7de969f9b3d9ee632639ed5775df6 100644
--- a/media/base/fake_text_track_stream.h
+++ b/media/base/fake_text_track_stream.h
@@ -29,6 +29,9 @@ class FakeTextTrackStream : public DemuxerStream {
MOCK_METHOD0(EnableBitstreamConverter, void());
bool SupportsConfigChanges() override;
VideoRotation video_rotation() override;
+ bool enabled() const override;
+ void set_enabled(bool enabled, base::TimeDelta timestamp) override;
+ void SetStreamRestartedCB(const StreamRestartedCB& cb) override;
void SatisfyPendingRead(const base::TimeDelta& start,
const base::TimeDelta& duration,
« no previous file with comments | « media/base/fake_demuxer_stream.cc ('k') | media/base/fake_text_track_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698