OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 }; | 108 }; |
109 | 109 |
110 // Information about all the connections of a channel. | 110 // Information about all the connections of a channel. |
111 typedef std::vector<ConnectionInfo> ConnectionInfos; | 111 typedef std::vector<ConnectionInfo> ConnectionInfos; |
112 | 112 |
113 // Information about a specific channel | 113 // Information about a specific channel |
114 struct TransportChannelStats { | 114 struct TransportChannelStats { |
115 int component; | 115 int component; |
116 ConnectionInfos connection_infos; | 116 ConnectionInfos connection_infos; |
117 std::string srtp_cipher; | 117 std::string srtp_cipher; |
118 std::string ssl_cipher; | 118 rtc::SslCipher ssl_cipher; |
119 }; | 119 }; |
120 | 120 |
121 // Information about all the channels of a transport. | 121 // Information about all the channels of a transport. |
122 // TODO(hta): Consider if a simple vector is as good as a map. | 122 // TODO(hta): Consider if a simple vector is as good as a map. |
123 typedef std::vector<TransportChannelStats> TransportChannelStatsList; | 123 typedef std::vector<TransportChannelStats> TransportChannelStatsList; |
124 | 124 |
125 // Information about the stats of a transport. | 125 // Information about the stats of a transport. |
126 struct TransportStats { | 126 struct TransportStats { |
127 std::string content_name; | 127 std::string content_name; |
128 TransportChannelStatsList channel_stats; | 128 TransportChannelStatsList channel_stats; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 // Protects changes to channels and messages | 456 // Protects changes to channels and messages |
457 rtc::CriticalSection crit_; | 457 rtc::CriticalSection crit_; |
458 | 458 |
459 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); | 459 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); |
460 }; | 460 }; |
461 | 461 |
462 | 462 |
463 } // namespace cricket | 463 } // namespace cricket |
464 | 464 |
465 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ | 465 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ |
OLD | NEW |