| 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 #include "webrtc/api/stats/rtcstats_objects.h" | 11 #include "webrtc/api/stats/rtcstats_objects.h" | 
| 12 | 12 | 
| 13 namespace webrtc { | 13 namespace webrtc { | 
| 14 | 14 | 
| 15 const char* RTCDataChannelState::kConnecting = "connecting"; | 15 const char* RTCDataChannelState::kConnecting = "connecting"; | 
| 16 const char* RTCDataChannelState::kOpen = "open"; | 16 const char* RTCDataChannelState::kOpen = "open"; | 
| 17 const char* RTCDataChannelState::kClosing = "closing"; | 17 const char* RTCDataChannelState::kClosing = "closing"; | 
| 18 const char* RTCDataChannelState::kClosed = "closed"; | 18 const char* RTCDataChannelState::kClosed = "closed"; | 
| 19 | 19 | 
| 20 const char* RTCStatsIceCandidatePairState::kFrozen = "frozen"; | 20 const char* RTCStatsIceCandidatePairState::kFrozen = "frozen"; | 
| 21 const char* RTCStatsIceCandidatePairState::kWaiting = "waiting"; | 21 const char* RTCStatsIceCandidatePairState::kWaiting = "waiting"; | 
| 22 const char* RTCStatsIceCandidatePairState::kInProgress = "inprogress"; | 22 const char* RTCStatsIceCandidatePairState::kInProgress = "in-progress"; | 
| 23 const char* RTCStatsIceCandidatePairState::kFailed = "failed"; | 23 const char* RTCStatsIceCandidatePairState::kFailed = "failed"; | 
| 24 const char* RTCStatsIceCandidatePairState::kSucceeded = "succeeded"; | 24 const char* RTCStatsIceCandidatePairState::kSucceeded = "succeeded"; | 
| 25 const char* RTCStatsIceCandidatePairState::kCancelled = "cancelled"; |  | 
| 26 | 25 | 
| 27 // Strings defined in https://tools.ietf.org/html/rfc5245. | 26 // Strings defined in https://tools.ietf.org/html/rfc5245. | 
| 28 const char* RTCIceCandidateType::kHost = "host"; | 27 const char* RTCIceCandidateType::kHost = "host"; | 
| 29 const char* RTCIceCandidateType::kSrflx = "srflx"; | 28 const char* RTCIceCandidateType::kSrflx = "srflx"; | 
| 30 const char* RTCIceCandidateType::kPrflx = "prflx"; | 29 const char* RTCIceCandidateType::kPrflx = "prflx"; | 
| 31 const char* RTCIceCandidateType::kRelay = "relay"; | 30 const char* RTCIceCandidateType::kRelay = "relay"; | 
| 32 | 31 | 
| 33 WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate", | 32 WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate", | 
| 34     &fingerprint, | 33     &fingerprint, | 
| 35     &fingerprint_algorithm, | 34     &fingerprint_algorithm, | 
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 621       active_connection(other.active_connection), | 620       active_connection(other.active_connection), | 
| 622       selected_candidate_pair_id(other.selected_candidate_pair_id), | 621       selected_candidate_pair_id(other.selected_candidate_pair_id), | 
| 623       local_certificate_id(other.local_certificate_id), | 622       local_certificate_id(other.local_certificate_id), | 
| 624       remote_certificate_id(other.remote_certificate_id) { | 623       remote_certificate_id(other.remote_certificate_id) { | 
| 625 } | 624 } | 
| 626 | 625 | 
| 627 RTCTransportStats::~RTCTransportStats() { | 626 RTCTransportStats::~RTCTransportStats() { | 
| 628 } | 627 } | 
| 629 | 628 | 
| 630 }  // namespace webrtc | 629 }  // namespace webrtc | 
| OLD | NEW | 
|---|