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

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

Issue 2146133002: Revert of Modify PeerConnection for end-to-end QuicDataChannel usage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 void QuicTransportChannel::OnRouteChange(TransportChannel* channel, 389 void QuicTransportChannel::OnRouteChange(TransportChannel* channel,
390 const Candidate& candidate) { 390 const Candidate& candidate) {
391 ASSERT(channel == channel_.get()); 391 ASSERT(channel == channel_.get());
392 SignalRouteChange(this, candidate); 392 SignalRouteChange(this, candidate);
393 } 393 }
394 394
395 void QuicTransportChannel::OnSelectedCandidatePairChanged( 395 void QuicTransportChannel::OnSelectedCandidatePairChanged(
396 TransportChannel* channel, 396 TransportChannel* channel,
397 CandidatePairInterface* selected_candidate_pair, 397 CandidatePairInterface* selected_candidate_pair,
398 int last_sent_packet_id, 398 int last_sent_packet_id bool ready_to_send) {
399 bool ready_to_send) {
400 ASSERT(channel == channel_.get()); 399 ASSERT(channel == channel_.get());
401 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, 400 SignalSelectedCandidatePairChanged(this, selected_candidate_pair,
402 last_sent_packet_id, ready_to_send); 401 last_sent_packet_id, ready_to_send);
403 } 402 }
404 403
405 void QuicTransportChannel::OnChannelStateChanged( 404 void QuicTransportChannel::OnChannelStateChanged(
406 TransportChannelImpl* channel) { 405 TransportChannelImpl* channel) {
407 ASSERT(channel == channel_.get()); 406 ASSERT(channel == channel_.get());
408 SignalStateChanged(this); 407 SignalStateChanged(this);
409 } 408 }
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 return quic_->CreateOutgoingDynamicStream(priority); 588 return quic_->CreateOutgoingDynamicStream(priority);
590 } 589 }
591 return nullptr; 590 return nullptr;
592 } 591 }
593 592
594 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) { 593 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) {
595 SignalIncomingStream(stream); 594 SignalIncomingStream(stream);
596 } 595 }
597 596
598 } // namespace cricket 597 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/quic/quictransportchannel.h ('k') | webrtc/p2p/quic/quictransportchannel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698