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

Side by Side Diff: webrtc/api/rtcstatscollector.h

Issue 2390693003: RTCIceCandidatePairStats added. (Closed)
Patch Set: Addressed comments (added requests_sent/responses_sent) Created 4 years, 2 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
« no previous file with comments | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void AddPartialResults_s(rtc::scoped_refptr<RTCStatsReport> partial_report); 78 void AddPartialResults_s(rtc::scoped_refptr<RTCStatsReport> partial_report);
79 void DeliverCachedReport(); 79 void DeliverCachedReport();
80 80
81 // Produces |RTCCertificateStats|. 81 // Produces |RTCCertificateStats|.
82 void ProduceCertificateStats_s( 82 void ProduceCertificateStats_s(
83 int64_t timestamp_us, const SessionStats& session_stats, 83 int64_t timestamp_us, const SessionStats& session_stats,
84 RTCStatsReport* report) const; 84 RTCStatsReport* report) const;
85 void ProduceCertificateStatsFromSSLCertificateAndChain_s( 85 void ProduceCertificateStatsFromSSLCertificateAndChain_s(
86 int64_t timestamp_us, const rtc::SSLCertificate& certificate, 86 int64_t timestamp_us, const rtc::SSLCertificate& certificate,
87 RTCStatsReport* report) const; 87 RTCStatsReport* report) const;
88 // Produces |RTCIceCandidateStats|. TODO(hbos): Should also produce 88 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|.
89 // |RTCIceCandidatePairStats|. crbug.com/633550
90 void ProduceIceCandidateAndPairStats_s( 89 void ProduceIceCandidateAndPairStats_s(
91 int64_t timestamp_us, const SessionStats& session_stats, 90 int64_t timestamp_us, const SessionStats& session_stats,
92 RTCStatsReport* report) const; 91 RTCStatsReport* report) const;
93 const std::string& ProduceIceCandidateStats_s( 92 const std::string& ProduceIceCandidateStats_s(
94 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local, 93 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local,
95 RTCStatsReport* report) const; 94 RTCStatsReport* report) const;
96 // Produces |RTCPeerConnectionStats|. 95 // Produces |RTCPeerConnectionStats|.
97 void ProducePeerConnectionStats_s( 96 void ProducePeerConnectionStats_s(
98 int64_t timestamp_us, RTCStatsReport* report) const; 97 int64_t timestamp_us, RTCStatsReport* report) const;
99 98
(...skipping 16 matching lines...) Expand all
116 int64_t cache_lifetime_us_; 115 int64_t cache_lifetime_us_;
117 rtc::scoped_refptr<const RTCStatsReport> cached_report_; 116 rtc::scoped_refptr<const RTCStatsReport> cached_report_;
118 }; 117 };
119 118
120 // Helper function, exposed for unittests. 119 // Helper function, exposed for unittests.
121 const char* CandidateTypeToRTCIceCandidateType(const std::string& type); 120 const char* CandidateTypeToRTCIceCandidateType(const std::string& type);
122 121
123 } // namespace webrtc 122 } // namespace webrtc
124 123
125 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ 124 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698