Remove the obsolete enum webrtc::PeerConnectionInterface::IceState.
Was replaced by IceConnectionState + IceGatheringState. BUG= Review-Url: https://codereview.webrtc.org/2256663002 Cr-Commit-Position: refs/heads/master@{#13963}
This commit is contained in:
@ -568,7 +568,6 @@ PeerConnection::PeerConnection(PeerConnectionFactory* factory)
|
||||
observer_(NULL),
|
||||
uma_observer_(NULL),
|
||||
signaling_state_(kStable),
|
||||
ice_state_(kIceNew),
|
||||
ice_connection_state_(kIceConnectionNew),
|
||||
ice_gathering_state_(kIceGatheringNew),
|
||||
rtcp_cname_(GenerateRtcpCname()),
|
||||
@ -888,10 +887,6 @@ PeerConnectionInterface::SignalingState PeerConnection::signaling_state() {
|
||||
return signaling_state_;
|
||||
}
|
||||
|
||||
PeerConnectionInterface::IceState PeerConnection::ice_state() {
|
||||
return ice_state_;
|
||||
}
|
||||
|
||||
PeerConnectionInterface::IceConnectionState
|
||||
PeerConnection::ice_connection_state() {
|
||||
return ice_connection_state_;
|
||||
|
||||
@ -105,8 +105,6 @@ class PeerConnection : public PeerConnectionInterface,
|
||||
|
||||
SignalingState signaling_state() override;
|
||||
|
||||
// TODO(bemasc): Remove ice_state() when callers are removed.
|
||||
IceState ice_state() override;
|
||||
IceConnectionState ice_connection_state() override;
|
||||
IceGatheringState ice_gathering_state() override;
|
||||
|
||||
@ -381,8 +379,6 @@ class PeerConnection : public PeerConnectionInterface,
|
||||
PeerConnectionObserver* observer_;
|
||||
UMAObserver* uma_observer_;
|
||||
SignalingState signaling_state_;
|
||||
// TODO(bemasc): Remove ice_state_.
|
||||
IceState ice_state_;
|
||||
IceConnectionState ice_connection_state_;
|
||||
IceGatheringState ice_gathering_state_;
|
||||
|
||||
|
||||
@ -151,19 +151,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
||||
kClosed,
|
||||
};
|
||||
|
||||
// TODO(bemasc): Remove IceState when callers are changed to
|
||||
// IceConnection/GatheringState.
|
||||
enum IceState {
|
||||
kIceNew,
|
||||
kIceGathering,
|
||||
kIceWaiting,
|
||||
kIceChecking,
|
||||
kIceConnected,
|
||||
kIceCompleted,
|
||||
kIceFailed,
|
||||
kIceClosed,
|
||||
};
|
||||
|
||||
enum IceGatheringState {
|
||||
kIceGatheringNew,
|
||||
kIceGatheringGathering,
|
||||
@ -487,10 +474,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
||||
// Returns the current SignalingState.
|
||||
virtual SignalingState signaling_state() = 0;
|
||||
|
||||
// TODO(bemasc): Remove ice_state when callers are changed to
|
||||
// IceConnection/GatheringState.
|
||||
// Returns the current IceState.
|
||||
virtual IceState ice_state() = 0;
|
||||
virtual IceConnectionState ice_connection_state() = 0;
|
||||
virtual IceGatheringState ice_gathering_state() = 0;
|
||||
|
||||
|
||||
@ -71,7 +71,6 @@ BEGIN_SIGNALING_PROXY_MAP(PeerConnection)
|
||||
const std::vector<cricket::Candidate>&);
|
||||
PROXY_METHOD1(void, RegisterUMAObserver, UMAObserver*)
|
||||
PROXY_METHOD0(SignalingState, signaling_state)
|
||||
PROXY_METHOD0(IceState, ice_state)
|
||||
PROXY_METHOD0(IceConnectionState, ice_connection_state)
|
||||
PROXY_METHOD0(IceGatheringState, ice_gathering_state)
|
||||
PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t)
|
||||
|
||||
Reference in New Issue
Block a user