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

Unified Diff: media/base/fake_text_track_stream.cc

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_text_track_stream.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_text_track_stream.cc
diff --git a/media/base/fake_text_track_stream.cc b/media/base/fake_text_track_stream.cc
index 5d830db24bc32de339a1e9b80a9dc662926374e0..c0a8ae48b1d02979ed77dddd3d794ead1fc941bf 100644
--- a/media/base/fake_text_track_stream.cc
+++ b/media/base/fake_text_track_stream.cc
@@ -46,6 +46,18 @@ VideoRotation FakeTextTrackStream::video_rotation() {
return VIDEO_ROTATION_0;
}
+bool FakeTextTrackStream::enabled() const {
+ return true;
+}
+
+void FakeTextTrackStream::set_enabled(bool enabled, base::TimeDelta timestamp) {
+ NOTIMPLEMENTED();
+}
+
+void FakeTextTrackStream::SetStreamRestartedCB(const StreamRestartedCB& cb) {
+ NOTIMPLEMENTED();
+}
+
void FakeTextTrackStream::SatisfyPendingRead(
const base::TimeDelta& start,
const base::TimeDelta& duration,
« no previous file with comments | « media/base/fake_text_track_stream.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698