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

Side by Side Diff: webrtc/p2p/quic/quictransportchannel.h

Issue 2224563004: Add signaling to support ICE renomination. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge Created 4 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool GetStats(ConnectionInfos* infos) override { 135 bool GetStats(ConnectionInfos* infos) override {
136 return channel_->GetStats(infos); 136 return channel_->GetStats(infos);
137 } 137 }
138 const std::string SessionId() const override { return channel_->SessionId(); } 138 const std::string SessionId() const override { return channel_->SessionId(); }
139 TransportChannelState GetState() const override { 139 TransportChannelState GetState() const override {
140 return channel_->GetState(); 140 return channel_->GetState();
141 } 141 }
142 void SetIceTiebreaker(uint64_t tiebreaker) override { 142 void SetIceTiebreaker(uint64_t tiebreaker) override {
143 channel_->SetIceTiebreaker(tiebreaker); 143 channel_->SetIceTiebreaker(tiebreaker);
144 } 144 }
145 void SetIceCredentials(const std::string& ice_ufrag, 145 void SetIceParameters(const IceParameters& ice_params) override {
146 const std::string& ice_pwd) override { 146 channel_->SetIceParameters(ice_params);
147 channel_->SetIceCredentials(ice_ufrag, ice_pwd);
148 } 147 }
149 void SetRemoteIceCredentials(const std::string& ice_ufrag, 148 void SetRemoteIceParameters(const IceParameters& ice_params) override {
150 const std::string& ice_pwd) override { 149 channel_->SetRemoteIceParameters(ice_params);
151 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd);
152 } 150 }
153 void SetRemoteIceMode(IceMode mode) override { 151 void SetRemoteIceMode(IceMode mode) override {
154 channel_->SetRemoteIceMode(mode); 152 channel_->SetRemoteIceMode(mode);
155 } 153 }
156 void MaybeStartGathering() override { channel_->MaybeStartGathering(); } 154 void MaybeStartGathering() override { channel_->MaybeStartGathering(); }
157 IceGatheringState gathering_state() const override { 155 IceGatheringState gathering_state() const override {
158 return channel_->gathering_state(); 156 return channel_->gathering_state();
159 } 157 }
160 void AddRemoteCandidate(const Candidate& candidate) override { 158 void AddRemoteCandidate(const Candidate& candidate) override {
161 channel_->AddRemoteCandidate(candidate); 159 channel_->AddRemoteCandidate(candidate);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 295 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
298 // Fingerprint of the remote peer. This must be set before we start QUIC. 296 // Fingerprint of the remote peer. This must be set before we start QUIC.
299 rtc::Optional<RemoteFingerprint> remote_fingerprint_; 297 rtc::Optional<RemoteFingerprint> remote_fingerprint_;
300 298
301 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); 299 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel);
302 }; 300 };
303 301
304 } // namespace cricket 302 } // namespace cricket
305 303
306 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ 304 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportdescriptionfactory_unittest.cc ('k') | webrtc/p2p/quic/quictransportchannel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698