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_API_STATS_RTCSTATS_OBJECTS_H_ | 11 #ifndef WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
12 #define WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 12 #define WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
| 15 #include <vector> |
15 | 16 |
16 #include "webrtc/api/stats/rtcstats.h" | 17 #include "webrtc/api/stats/rtcstats.h" |
17 | 18 |
18 namespace webrtc { | 19 namespace webrtc { |
19 | 20 |
20 // https://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelstate | 21 // https://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelstate |
21 struct RTCDataChannelState { | 22 struct RTCDataChannelState { |
22 static const char* kConnecting; | 23 static const char* kConnecting; |
23 static const char* kOpen; | 24 static const char* kOpen; |
24 static const char* kClosing; | 25 static const char* kClosing; |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 412 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
412 RTCStatsMember<std::string> dtls_state; | 413 RTCStatsMember<std::string> dtls_state; |
413 RTCStatsMember<std::string> selected_candidate_pair_id; | 414 RTCStatsMember<std::string> selected_candidate_pair_id; |
414 RTCStatsMember<std::string> local_certificate_id; | 415 RTCStatsMember<std::string> local_certificate_id; |
415 RTCStatsMember<std::string> remote_certificate_id; | 416 RTCStatsMember<std::string> remote_certificate_id; |
416 }; | 417 }; |
417 | 418 |
418 } // namespace webrtc | 419 } // namespace webrtc |
419 | 420 |
420 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 421 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |