| 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" | |
| 17 #include "webrtc/p2p/base/candidate.h" | 16 #include "webrtc/p2p/base/candidate.h" |
| 18 #include "webrtc/p2p/base/candidatepairinterface.h" | 17 #include "webrtc/p2p/base/candidatepairinterface.h" |
| 19 #include "webrtc/p2p/base/jseptransport.h" | 18 #include "webrtc/p2p/base/jseptransport.h" |
| 20 #include "webrtc/p2p/base/packettransportinternal.h" | 19 #include "webrtc/p2p/base/packettransportinternal.h" |
| 21 #include "webrtc/p2p/base/transportdescription.h" | 20 #include "webrtc/p2p/base/transportdescription.h" |
| 21 #include "webrtc/rtc_base/stringencode.h" |
| 22 | 22 |
| 23 namespace webrtc { | 23 namespace webrtc { |
| 24 class MetricsObserverInterface; | 24 class MetricsObserverInterface; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace cricket { | 27 namespace cricket { |
| 28 | 28 |
| 29 // TODO(zhihuang): Replace this with | 29 // TODO(zhihuang): Replace this with |
| 30 // PeerConnectionInterface::IceConnectionState. | 30 // PeerConnectionInterface::IceConnectionState. |
| 31 enum class IceTransportState { | 31 enum class IceTransportState { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 // Debugging description of this transport. | 142 // Debugging description of this transport. |
| 143 std::string debug_name() const override { | 143 std::string debug_name() const override { |
| 144 return transport_name() + " " + rtc::ToString(component()); | 144 return transport_name() + " " + rtc::ToString(component()); |
| 145 } | 145 } |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace cricket | 148 } // namespace cricket |
| 149 | 149 |
| 150 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ | 150 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ |
| OLD | NEW |