hbos | 27e177c | 2016-09-19 06:05:56 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #include "webrtc/stats/test/rtcteststats.h" |
| 12 | |
| 13 | namespace webrtc { |
| 14 | |
| 15 | const char RTCTestStats::kType[] = "test-stats"; |
| 16 | |
| 17 | RTCTestStats::RTCTestStats(const std::string& id, int64_t timestamp_us) |
| 18 | : RTCStats(id, timestamp_us), |
hbos | b20f387 | 2016-10-04 14:37:11 -0700 | [diff] [blame^] | 19 | m_bool("mBool"), |
hbos | 27e177c | 2016-09-19 06:05:56 -0700 | [diff] [blame] | 20 | m_int32("mInt32"), |
| 21 | m_uint32("mUint32"), |
| 22 | m_int64("mInt64"), |
| 23 | m_uint64("mUint64"), |
| 24 | m_double("mDouble"), |
| 25 | m_string("mString"), |
hbos | b20f387 | 2016-10-04 14:37:11 -0700 | [diff] [blame^] | 26 | m_sequence_bool("mSequenceBool"), |
hbos | 27e177c | 2016-09-19 06:05:56 -0700 | [diff] [blame] | 27 | m_sequence_int32("mSequenceInt32"), |
| 28 | m_sequence_uint32("mSequenceUint32"), |
| 29 | m_sequence_int64("mSequenceInt64"), |
| 30 | m_sequence_uint64("mSequenceUint64"), |
| 31 | m_sequence_double("mSequenceDouble"), |
| 32 | m_sequence_string("mSequenceString") { |
| 33 | } |
| 34 | |
| 35 | } // namespace webrtc |