| 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 |
| 11 #include "webrtc/p2p/base/transportcontroller.h" | 11 #include "webrtc/p2p/base/transportcontroller.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <memory> | 14 #include <memory> |
| 15 | 15 |
| 16 #include "webrtc/base/bind.h" | |
| 17 #include "webrtc/base/checks.h" | |
| 18 #include "webrtc/base/thread.h" | |
| 19 #include "webrtc/p2p/base/port.h" | 16 #include "webrtc/p2p/base/port.h" |
| 17 #include "webrtc/rtc_base/bind.h" |
| 18 #include "webrtc/rtc_base/checks.h" |
| 19 #include "webrtc/rtc_base/thread.h" |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 enum { | 23 enum { |
| 24 MSG_ICECONNECTIONSTATE, | 24 MSG_ICECONNECTIONSTATE, |
| 25 MSG_RECEIVING, | 25 MSG_RECEIVING, |
| 26 MSG_ICEGATHERINGSTATE, | 26 MSG_ICEGATHERINGSTATE, |
| 27 MSG_CANDIDATESGATHERED, | 27 MSG_CANDIDATESGATHERED, |
| 28 }; | 28 }; |
| 29 | 29 |
| (...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 RTC_FROM_HERE, this, MSG_ICEGATHERINGSTATE, | 882 RTC_FROM_HERE, this, MSG_ICEGATHERINGSTATE, |
| 883 new rtc::TypedMessageData<IceGatheringState>(new_gathering_state)); | 883 new rtc::TypedMessageData<IceGatheringState>(new_gathering_state)); |
| 884 } | 884 } |
| 885 } | 885 } |
| 886 | 886 |
| 887 void TransportController::OnDtlsHandshakeError(rtc::SSLHandshakeError error) { | 887 void TransportController::OnDtlsHandshakeError(rtc::SSLHandshakeError error) { |
| 888 SignalDtlsHandshakeError(error); | 888 SignalDtlsHandshakeError(error); |
| 889 } | 889 } |
| 890 | 890 |
| 891 } // namespace cricket | 891 } // namespace cricket |
| OLD | NEW |