diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h index 3e79b94f9e..1ea094b714 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() {}