| 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 #ifndef WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ | 11 #ifndef WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ |
| 12 #define WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ | 12 #define WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "webrtc/base/stringencode.h" |
| 16 #include "webrtc/p2p/base/candidate.h" | 17 #include "webrtc/p2p/base/candidate.h" |
| 17 #include "webrtc/p2p/base/candidatepairinterface.h" | 18 #include "webrtc/p2p/base/candidatepairinterface.h" |
| 18 #include "webrtc/p2p/base/jseptransport.h" | 19 #include "webrtc/p2p/base/jseptransport.h" |
| 19 #include "webrtc/p2p/base/packettransportinternal.h" | 20 #include "webrtc/p2p/base/packettransportinternal.h" |
| 20 #include "webrtc/p2p/base/transportdescription.h" | 21 #include "webrtc/p2p/base/transportdescription.h" |
| 21 | 22 |
| 22 namespace webrtc { | 23 namespace webrtc { |
| 23 class MetricsObserverInterface; | 24 class MetricsObserverInterface; |
| 24 } | 25 } |
| 25 | 26 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 sigslot::signal1<IceTransportInternal*> SignalRoleConflict; | 137 sigslot::signal1<IceTransportInternal*> SignalRoleConflict; |
| 137 | 138 |
| 138 // Emitted whenever the transport state changed. | 139 // Emitted whenever the transport state changed. |
| 139 sigslot::signal1<IceTransportInternal*> SignalStateChanged; | 140 sigslot::signal1<IceTransportInternal*> SignalStateChanged; |
| 140 | 141 |
| 141 // Invoked when the transport is being destroyed. | 142 // Invoked when the transport is being destroyed. |
| 142 sigslot::signal1<IceTransportInternal*> SignalDestroyed; | 143 sigslot::signal1<IceTransportInternal*> SignalDestroyed; |
| 143 | 144 |
| 144 // Debugging description of this transport. | 145 // Debugging description of this transport. |
| 145 std::string debug_name() const override { | 146 std::string debug_name() const override { |
| 146 return transport_name() + " " + std::to_string(component()); | 147 return transport_name() + " " + rtc::ToString(component()); |
| 147 } | 148 } |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace cricket | 151 } // namespace cricket |
| 151 | 152 |
| 152 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ | 153 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ |
| OLD | NEW |