| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 void TransportController::SetMetricsObserver_n( | 734 void TransportController::SetMetricsObserver_n( |
| 735 webrtc::MetricsObserverInterface* metrics_observer) { | 735 webrtc::MetricsObserverInterface* metrics_observer) { |
| 736 RTC_DCHECK(network_thread_->IsCurrent()); | 736 RTC_DCHECK(network_thread_->IsCurrent()); |
| 737 metrics_observer_ = metrics_observer; | 737 metrics_observer_ = metrics_observer; |
| 738 for (auto& channel : channels_) { | 738 for (auto& channel : channels_) { |
| 739 channel->dtls()->ice_transport()->SetMetricsObserver(metrics_observer); | 739 channel->dtls()->ice_transport()->SetMetricsObserver(metrics_observer); |
| 740 } | 740 } |
| 741 } | 741 } |
| 742 | 742 |
| 743 void TransportController::OnChannelWritableState_n( | 743 void TransportController::OnChannelWritableState_n( |
| 744 rtc::PacketTransportInterface* transport) { | 744 rtc::PacketTransportInternal* transport) { |
| 745 RTC_DCHECK(network_thread_->IsCurrent()); | 745 RTC_DCHECK(network_thread_->IsCurrent()); |
| 746 LOG(LS_INFO) << " TransportChannel " << transport->debug_name() | 746 LOG(LS_INFO) << " TransportChannel " << transport->debug_name() |
| 747 << " writability changed to " << transport->writable() << "."; | 747 << " writability changed to " << transport->writable() << "."; |
| 748 UpdateAggregateStates_n(); | 748 UpdateAggregateStates_n(); |
| 749 } | 749 } |
| 750 | 750 |
| 751 void TransportController::OnChannelReceivingState_n( | 751 void TransportController::OnChannelReceivingState_n( |
| 752 rtc::PacketTransportInterface* transport) { | 752 rtc::PacketTransportInternal* transport) { |
| 753 RTC_DCHECK(network_thread_->IsCurrent()); | 753 RTC_DCHECK(network_thread_->IsCurrent()); |
| 754 UpdateAggregateStates_n(); | 754 UpdateAggregateStates_n(); |
| 755 } | 755 } |
| 756 | 756 |
| 757 void TransportController::OnChannelGatheringState_n( | 757 void TransportController::OnChannelGatheringState_n( |
| 758 IceTransportInternal* channel) { | 758 IceTransportInternal* channel) { |
| 759 RTC_DCHECK(network_thread_->IsCurrent()); | 759 RTC_DCHECK(network_thread_->IsCurrent()); |
| 760 UpdateAggregateStates_n(); | 760 UpdateAggregateStates_n(); |
| 761 } | 761 } |
| 762 | 762 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 RTC_FROM_HERE, this, MSG_ICEGATHERINGSTATE, | 879 RTC_FROM_HERE, this, MSG_ICEGATHERINGSTATE, |
| 880 new rtc::TypedMessageData<IceGatheringState>(new_gathering_state)); | 880 new rtc::TypedMessageData<IceGatheringState>(new_gathering_state)); |
| 881 } | 881 } |
| 882 } | 882 } |
| 883 | 883 |
| 884 void TransportController::OnDtlsHandshakeError(rtc::SSLHandshakeError error) { | 884 void TransportController::OnDtlsHandshakeError(rtc::SSLHandshakeError error) { |
| 885 SignalDtlsHandshakeError(error); | 885 SignalDtlsHandshakeError(error); |
| 886 } | 886 } |
| 887 | 887 |
| 888 } // namespace cricket | 888 } // namespace cricket |
| OLD | NEW |