| OLD | NEW |
| 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 |
| 11 #include "webrtc/pc/quicdatatransport.h" | 11 #include "webrtc/pc/quicdatatransport.h" |
| 12 | 12 |
| 13 #include "webrtc/base/bind.h" | |
| 14 #include "webrtc/base/logging.h" | |
| 15 #include "webrtc/p2p/quic/quictransportchannel.h" | 13 #include "webrtc/p2p/quic/quictransportchannel.h" |
| 16 #include "webrtc/p2p/quic/reliablequicstream.h" | 14 #include "webrtc/p2p/quic/reliablequicstream.h" |
| 15 #include "webrtc/rtc_base/bind.h" |
| 16 #include "webrtc/rtc_base/logging.h" |
| 17 | 17 |
| 18 namespace webrtc { | 18 namespace webrtc { |
| 19 | 19 |
| 20 QuicDataTransport::QuicDataTransport( | 20 QuicDataTransport::QuicDataTransport( |
| 21 rtc::Thread* signaling_thread, | 21 rtc::Thread* signaling_thread, |
| 22 rtc::Thread* worker_thread, | 22 rtc::Thread* worker_thread, |
| 23 rtc::Thread* network_thread, | 23 rtc::Thread* network_thread, |
| 24 cricket::TransportController* transport_controller) | 24 cricket::TransportController* transport_controller) |
| 25 : signaling_thread_(signaling_thread), | 25 : signaling_thread_(signaling_thread), |
| 26 worker_thread_(worker_thread), | 26 worker_thread_(worker_thread), |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 if (transport_channel) { | 188 if (transport_channel) { |
| 189 network_thread_->Invoke<void>( | 189 network_thread_->Invoke<void>( |
| 190 RTC_FROM_HERE, | 190 RTC_FROM_HERE, |
| 191 rtc::Bind(&cricket::TransportController::DestroyTransportChannel_n, | 191 rtc::Bind(&cricket::TransportController::DestroyTransportChannel_n, |
| 192 transport_controller_, transport_channel->transport_name(), | 192 transport_controller_, transport_channel->transport_name(), |
| 193 cricket::ICE_CANDIDATE_COMPONENT_DEFAULT)); | 193 cricket::ICE_CANDIDATE_COMPONENT_DEFAULT)); |
| 194 } | 194 } |
| 195 } | 195 } |
| 196 | 196 |
| 197 } // namespace webrtc | 197 } // namespace webrtc |
| OLD | NEW |