| Index: webrtc/stats/test/rtcteststats.cc
|
| diff --git a/webrtc/stats/test/rtcteststats.cc b/webrtc/stats/test/rtcteststats.cc
|
| index a4bff77564179f502c56db9bdb6c93e8b767b31e..f60bd0f8f058e4e88395aa021abe04ce688e5391 100644
|
| --- a/webrtc/stats/test/rtcteststats.cc
|
| +++ b/webrtc/stats/test/rtcteststats.cc
|
| @@ -12,7 +12,21 @@
|
|
|
| namespace webrtc {
|
|
|
| -const char RTCTestStats::kType[] = "test-stats";
|
| +WEBRTC_RTCSTATS_IMPL(RTCTestStats, RTCStats, "test-stats",
|
| + &m_bool,
|
| + &m_int32,
|
| + &m_uint32,
|
| + &m_int64,
|
| + &m_uint64,
|
| + &m_double,
|
| + &m_string,
|
| + &m_sequence_bool,
|
| + &m_sequence_int32,
|
| + &m_sequence_uint32,
|
| + &m_sequence_int64,
|
| + &m_sequence_uint64,
|
| + &m_sequence_double,
|
| + &m_sequence_string);
|
|
|
| RTCTestStats::RTCTestStats(const std::string& id, int64_t timestamp_us)
|
| : RTCStats(id, timestamp_us),
|
| @@ -32,4 +46,25 @@ RTCTestStats::RTCTestStats(const std::string& id, int64_t timestamp_us)
|
| m_sequence_string("mSequenceString") {
|
| }
|
|
|
| +RTCTestStats::RTCTestStats(const RTCTestStats& other)
|
| + : RTCStats(other.id(), other.timestamp_us()),
|
| + m_bool(other.m_bool),
|
| + m_int32(other.m_int32),
|
| + m_uint32(other.m_uint32),
|
| + m_int64(other.m_int64),
|
| + m_uint64(other.m_uint64),
|
| + m_double(other.m_double),
|
| + m_string(other.m_string),
|
| + m_sequence_bool(other.m_sequence_bool),
|
| + m_sequence_int32(other.m_sequence_int32),
|
| + m_sequence_uint32(other.m_sequence_uint32),
|
| + m_sequence_int64(other.m_sequence_int64),
|
| + m_sequence_uint64(other.m_sequence_uint64),
|
| + m_sequence_double(other.m_sequence_double),
|
| + m_sequence_string(other.m_sequence_string) {
|
| +}
|
| +
|
| +RTCTestStats::~RTCTestStats() {
|
| +}
|
| +
|
| } // namespace webrtc
|
|
|