| 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 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|. | 100 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|. |
| 101 void ProduceIceCandidateAndPairStats_s( | 101 void ProduceIceCandidateAndPairStats_s( |
| 102 int64_t timestamp_us, const SessionStats& session_stats, | 102 int64_t timestamp_us, const SessionStats& session_stats, |
| 103 RTCStatsReport* report) const; | 103 RTCStatsReport* report) const; |
| 104 const std::string& ProduceIceCandidateStats_s( | 104 const std::string& ProduceIceCandidateStats_s( |
| 105 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local, | 105 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local, |
| 106 RTCStatsReport* report) const; | 106 RTCStatsReport* report) const; |
| 107 // Produces |RTCPeerConnectionStats|. | 107 // Produces |RTCPeerConnectionStats|. |
| 108 void ProducePeerConnectionStats_s( | 108 void ProducePeerConnectionStats_s( |
| 109 int64_t timestamp_us, RTCStatsReport* report) const; | 109 int64_t timestamp_us, RTCStatsReport* report) const; |
| 110 // Produces |RTCOutboundRTPStreamStats|. TODO(hbos): Produce both types of | 110 // Produces |RTCInboundRTPStreamStats| and |RTCOutboundRTPStreamStats|. |
| 111 // |RTCRTPStreamStats|, the other one being |RTCInboundRTPStreamStats|. | |
| 112 // crbug.com/657855 | |
| 113 void ProduceRTPStreamStats_s( | 111 void ProduceRTPStreamStats_s( |
| 114 int64_t timestamp_us, const SessionStats& session_stats, | 112 int64_t timestamp_us, const SessionStats& session_stats, |
| 115 RTCStatsReport* report) const; | 113 RTCStatsReport* report) const; |
| 116 // Produces |RTCTransportStats|. | 114 // Produces |RTCTransportStats|. |
| 117 void ProduceTransportStats_s( | 115 void ProduceTransportStats_s( |
| 118 int64_t timestamp_us, const SessionStats& session_stats, | 116 int64_t timestamp_us, const SessionStats& session_stats, |
| 119 const std::map<std::string, CertificateStatsPair>& transport_cert_stats, | 117 const std::map<std::string, CertificateStatsPair>& transport_cert_stats, |
| 120 RTCStatsReport* report) const; | 118 RTCStatsReport* report) const; |
| 121 | 119 |
| 122 // Helper function to stats-producing functions. | 120 // Helper function to stats-producing functions. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 144 }; | 142 }; |
| 145 | 143 |
| 146 const char* CandidateTypeToRTCIceCandidateTypeForTesting( | 144 const char* CandidateTypeToRTCIceCandidateTypeForTesting( |
| 147 const std::string& type); | 145 const std::string& type); |
| 148 const char* DataStateToRTCDataChannelStateForTesting( | 146 const char* DataStateToRTCDataChannelStateForTesting( |
| 149 DataChannelInterface::DataState state); | 147 DataChannelInterface::DataState state); |
| 150 | 148 |
| 151 } // namespace webrtc | 149 } // namespace webrtc |
| 152 | 150 |
| 153 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ | 151 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ |
| OLD | NEW |