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

Side by Side Diff: webrtc/p2p/base/dtlstransportchannel.cc

Issue 1842093002: Add the last_sent_packet_id to the candidate pair change signal (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 8 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 | « webrtc/p2p/base/dtlstransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('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 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 } 631 }
632 632
633 void DtlsTransportChannelWrapper::OnRouteChange( 633 void DtlsTransportChannelWrapper::OnRouteChange(
634 TransportChannel* channel, const Candidate& candidate) { 634 TransportChannel* channel, const Candidate& candidate) {
635 ASSERT(channel == channel_); 635 ASSERT(channel == channel_);
636 SignalRouteChange(this, candidate); 636 SignalRouteChange(this, candidate);
637 } 637 }
638 638
639 void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged( 639 void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged(
640 TransportChannel* channel, 640 TransportChannel* channel,
641 CandidatePairInterface* selected_candidate_pair) { 641 CandidatePairInterface* selected_candidate_pair,
642 int last_sent_packet_id) {
642 ASSERT(channel == channel_); 643 ASSERT(channel == channel_);
643 SignalSelectedCandidatePairChanged(this, selected_candidate_pair); 644 SignalSelectedCandidatePairChanged(this, selected_candidate_pair,
645 last_sent_packet_id);
644 } 646 }
645 647
646 void DtlsTransportChannelWrapper::OnConnectionRemoved( 648 void DtlsTransportChannelWrapper::OnConnectionRemoved(
647 TransportChannelImpl* channel) { 649 TransportChannelImpl* channel) {
648 ASSERT(channel == channel_); 650 ASSERT(channel == channel_);
649 SignalConnectionRemoved(this); 651 SignalConnectionRemoved(this);
650 } 652 }
651 653
652 void DtlsTransportChannelWrapper::Reconnect() { 654 void DtlsTransportChannelWrapper::Reconnect() {
653 set_dtls_state(DTLS_TRANSPORT_NEW); 655 set_dtls_state(DTLS_TRANSPORT_NEW);
654 set_writable(false); 656 set_writable(false);
655 if (channel_->writable()) { 657 if (channel_->writable()) {
656 OnWritableState(channel_); 658 OnWritableState(channel_);
657 } 659 }
658 } 660 }
659 661
660 } // namespace cricket 662 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698