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

Side by Side Diff: webrtc/api/peerconnection.h

Issue 2256663002: Remove the obsolete enum webrtc::PeerConnectionInterface::IceState. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 rtc::scoped_refptr<DataChannelInterface> CreateDataChannel( 99 rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
100 const std::string& label, 100 const std::string& label,
101 const DataChannelInit* config) override; 101 const DataChannelInit* config) override;
102 bool GetStats(StatsObserver* observer, 102 bool GetStats(StatsObserver* observer,
103 webrtc::MediaStreamTrackInterface* track, 103 webrtc::MediaStreamTrackInterface* track,
104 StatsOutputLevel level) override; 104 StatsOutputLevel level) override;
105 105
106 SignalingState signaling_state() override; 106 SignalingState signaling_state() override;
107 107
108 // TODO(bemasc): Remove ice_state() when callers are removed.
109 IceState ice_state() override;
110 IceConnectionState ice_connection_state() override; 108 IceConnectionState ice_connection_state() override;
111 IceGatheringState ice_gathering_state() override; 109 IceGatheringState ice_gathering_state() override;
112 110
113 const SessionDescriptionInterface* local_description() const override; 111 const SessionDescriptionInterface* local_description() const override;
114 const SessionDescriptionInterface* remote_description() const override; 112 const SessionDescriptionInterface* remote_description() const override;
115 113
116 // JSEP01 114 // JSEP01
117 // Deprecated, use version without constraints. 115 // Deprecated, use version without constraints.
118 void CreateOffer(CreateSessionDescriptionObserver* observer, 116 void CreateOffer(CreateSessionDescriptionObserver* observer,
119 const MediaConstraintsInterface* constraints) override; 117 const MediaConstraintsInterface* constraints) override;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // Storing the factory as a scoped reference pointer ensures that the memory 372 // Storing the factory as a scoped reference pointer ensures that the memory
375 // in the PeerConnectionFactoryImpl remains available as long as the 373 // in the PeerConnectionFactoryImpl remains available as long as the
376 // PeerConnection is running. It is passed to PeerConnection as a raw pointer. 374 // PeerConnection is running. It is passed to PeerConnection as a raw pointer.
377 // However, since the reference counting is done in the 375 // However, since the reference counting is done in the
378 // PeerConnectionFactoryInterface all instances created using the raw pointer 376 // PeerConnectionFactoryInterface all instances created using the raw pointer
379 // will refer to the same reference count. 377 // will refer to the same reference count.
380 rtc::scoped_refptr<PeerConnectionFactory> factory_; 378 rtc::scoped_refptr<PeerConnectionFactory> factory_;
381 PeerConnectionObserver* observer_; 379 PeerConnectionObserver* observer_;
382 UMAObserver* uma_observer_; 380 UMAObserver* uma_observer_;
383 SignalingState signaling_state_; 381 SignalingState signaling_state_;
384 // TODO(bemasc): Remove ice_state_.
385 IceState ice_state_;
386 IceConnectionState ice_connection_state_; 382 IceConnectionState ice_connection_state_;
387 IceGatheringState ice_gathering_state_; 383 IceGatheringState ice_gathering_state_;
388 384
389 std::unique_ptr<cricket::PortAllocator> port_allocator_; 385 std::unique_ptr<cricket::PortAllocator> port_allocator_;
390 std::unique_ptr<MediaControllerInterface> media_controller_; 386 std::unique_ptr<MediaControllerInterface> media_controller_;
391 387
392 // One PeerConnection has only one RTCP CNAME. 388 // One PeerConnection has only one RTCP CNAME.
393 // https://tools.ietf.org/html/draft-ietf-rtcweb-rtp-usage-26#section-4.9 389 // https://tools.ietf.org/html/draft-ietf-rtcweb-rtp-usage-26#section-4.9
394 std::string rtcp_cname_; 390 std::string rtcp_cname_;
395 391
(...skipping 24 matching lines...) Expand all
420 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> 416 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>>
421 receivers_; 417 receivers_;
422 418
423 std::unique_ptr<WebRtcSession> session_; 419 std::unique_ptr<WebRtcSession> session_;
424 std::unique_ptr<StatsCollector> stats_; 420 std::unique_ptr<StatsCollector> stats_;
425 }; 421 };
426 422
427 } // namespace webrtc 423 } // namespace webrtc
428 424
429 #endif // WEBRTC_API_PEERCONNECTION_H_ 425 #endif // WEBRTC_API_PEERCONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698