Index: webrtc/stats/rtcstats_objects.cc |
diff --git a/webrtc/stats/rtcstats_objects.cc b/webrtc/stats/rtcstats_objects.cc |
index c435908dc461fb3c692898d84bfce4c3d4a8dc35..fbd16ed39daddfc4a7e0c190f01bd6549091f9c8 100644 |
--- a/webrtc/stats/rtcstats_objects.cc |
+++ b/webrtc/stats/rtcstats_objects.cc |
@@ -12,6 +12,22 @@ |
namespace webrtc { |
+const char RTCCertificateStats::kType[] = "certificate"; |
+ |
+RTCCertificateStats::RTCCertificateStats( |
+ const std::string& id, int64_t timestamp_us) |
+ : RTCCertificateStats(std::string(id), timestamp_us) { |
+} |
+ |
+RTCCertificateStats::RTCCertificateStats( |
+ std::string&& id, int64_t timestamp_us) |
+ : RTCStats(std::move(id), timestamp_us), |
+ fingerprint("fingerprint"), |
+ fingerprint_algorithm("fingerprintAlgorithm"), |
+ base64_certificate("base64Certificate"), |
+ issuer_certificate_id("issuerCertificateId") { |
+} |
+ |
const char RTCPeerConnectionStats::kType[] = "peer-connection"; |
RTCPeerConnectionStats::RTCPeerConnectionStats( |