Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: webrtc/p2p/base/transport.h

Issue 1337673002: Change WebRTC SslCipher to be exposed as number only. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 }; 119 };
120 120
121 // Information about all the connections of a channel. 121 // Information about all the connections of a channel.
122 typedef std::vector<ConnectionInfo> ConnectionInfos; 122 typedef std::vector<ConnectionInfo> ConnectionInfos;
123 123
124 // Information about a specific channel 124 // Information about a specific channel
125 struct TransportChannelStats { 125 struct TransportChannelStats {
126 int component; 126 int component;
127 ConnectionInfos connection_infos; 127 ConnectionInfos connection_infos;
128 std::string srtp_cipher; 128 std::string srtp_cipher;
129 std::string ssl_cipher; 129 rtc::SslCipher ssl_cipher;
130 }; 130 };
131 131
132 // Information about all the channels of a transport. 132 // Information about all the channels of a transport.
133 // TODO(hta): Consider if a simple vector is as good as a map. 133 // TODO(hta): Consider if a simple vector is as good as a map.
134 typedef std::vector<TransportChannelStats> TransportChannelStatsList; 134 typedef std::vector<TransportChannelStats> TransportChannelStatsList;
135 135
136 // Information about the stats of a transport. 136 // Information about the stats of a transport.
137 struct TransportStats { 137 struct TransportStats {
138 std::string transport_name; 138 std::string transport_name;
139 TransportChannelStatsList channel_stats; 139 TransportChannelStatsList channel_stats;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 408
409 ChannelMap channels_; 409 ChannelMap channels_;
410 410
411 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); 411 RTC_DISALLOW_COPY_AND_ASSIGN(Transport);
412 }; 412 };
413 413
414 414
415 } // namespace cricket 415 } // namespace cricket
416 416
417 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ 417 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698