diff options
Diffstat (limited to 'talk/app/webrtc/statscollector.h')
-rw-r--r-- | talk/app/webrtc/statscollector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/talk/app/webrtc/statscollector.h b/talk/app/webrtc/statscollector.h index db2d78856d..dcd5b6c242 100644 --- a/talk/app/webrtc/statscollector.h +++ b/talk/app/webrtc/statscollector.h @@ -93,12 +93,19 @@ class StatsCollector { void ClearUpdateStatsCache(); private: + friend class StatsCollectorTest; + bool CopySelectedReports(const std::string& selector, StatsReports* reports); // Helper method for AddCertificateReports. std::string AddOneCertificateReport( const rtc::SSLCertificate* cert, const std::string& issuer_id); + // Helper method for creating IceCandidate report. |is_local| indicates + // whether this candidate is local or remote. + std::string AddCandidateReport(const cricket::Candidate& candidate, + const std::string& report_type); + // Adds a report for this certificate and every certificate in its chain, and // returns the leaf certificate's report's ID. std::string AddCertificateReports(const rtc::SSLCertificate* cert); |