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

Unified Diff: webrtc/api/mediastreaminterface.h

Issue 1828233002: ReAdd dummy MediaStreamTrack::set_state to make Chrome build happy. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreaminterface.h
diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h
index 3e79b94f9efd7e7f143d09ddb50f269f8702e0e4..1ea094b71454aaa2ff337b49a4da9534d3bdc1f3 100644
--- a/webrtc/api/mediastreaminterface.h
+++ b/webrtc/api/mediastreaminterface.h
@@ -92,6 +92,8 @@ class MediaStreamTrackInterface : public rtc::RefCountInterface,
virtual bool enabled() const = 0;
virtual TrackState state() const = 0;
virtual bool set_enabled(bool enable) = 0;
+ // TODO(perkj): Remove when Chrome tests doesn't rely on this method.
+ virtual bool set_state(TrackState state) { return true;}
protected:
virtual ~MediaStreamTrackInterface() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698