summaryrefslogtreecommitdiff
path: root/app/webrtc/peerconnectioninterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/webrtc/peerconnectioninterface.h')
-rw-r--r--app/webrtc/peerconnectioninterface.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/app/webrtc/peerconnectioninterface.h b/app/webrtc/peerconnectioninterface.h
index 68b7879..73a4812 100644
--- a/app/webrtc/peerconnectioninterface.h
+++ b/app/webrtc/peerconnectioninterface.h
@@ -255,15 +255,7 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
// Add a new MediaStream to be sent on this PeerConnection.
// Note that a SessionDescription negotiation is needed before the
// remote peer can receive the stream.
- // TODO(perkj): Make pure virtual once Chrome mocks have implemented.
- virtual bool AddStream(MediaStreamInterface* stream) { return false;}
-
- // Deprecated:
- // TODO(perkj): Remove once its not used by Chrome.
- virtual bool AddStream(MediaStreamInterface* stream,
- const MediaConstraintsInterface* constraints) {
- return false;
- }
+ virtual bool AddStream(MediaStreamInterface* stream) = 0;
// Remove a MediaStream from this PeerConnection.
// Note that a SessionDescription negotiation is need before the
@@ -351,10 +343,6 @@ class PeerConnectionObserver {
kIceState,
};
- // Deprecated.
- // TODO(perkj): Remove once its not used by Chrome.
- virtual void OnError() {}
-
// Triggered when the SignalingState changed.
virtual void OnSignalingChange(
PeerConnectionInterface::SignalingState new_state) {}