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

Side by Side Diff: webrtc/stats/test/rtcteststats.h

Issue 2354523002: RTCTestStats moved into webrtc/stats/test (rtc_stats_test_utils) (Closed)
Patch Set: Created 4 years, 3 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 | « webrtc/stats/rtcstats_unittest.cc ('k') | webrtc/stats/test/rtcteststats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #ifndef WEBRTC_STATS_TEST_RTCTESTSTATS_H_
12 #define WEBRTC_STATS_TEST_RTCTESTSTATS_H_
13
14 #include <string>
15 #include <vector>
16
17 #include "webrtc/api/stats/rtcstats.h"
18
19 namespace webrtc {
20
21 class RTCTestStats : public RTCStats {
22 public:
23 RTCTestStats(const std::string& id, int64_t timestamp_us);
24
25 WEBRTC_RTCSTATS_IMPL(RTCStats, RTCTestStats,
26 &m_int32,
27 &m_uint32,
28 &m_int64,
29 &m_uint64,
30 &m_double,
31 &m_string,
32 &m_sequence_int32,
33 &m_sequence_uint32,
34 &m_sequence_int64,
35 &m_sequence_uint64,
36 &m_sequence_double,
37 &m_sequence_string);
38
39 RTCStatsMember<int32_t> m_int32;
40 RTCStatsMember<uint32_t> m_uint32;
41 RTCStatsMember<int64_t> m_int64;
42 RTCStatsMember<uint64_t> m_uint64;
43 RTCStatsMember<double> m_double;
44 RTCStatsMember<std::string> m_string;
45 RTCStatsMember<std::vector<int32_t>> m_sequence_int32;
46 RTCStatsMember<std::vector<uint32_t>> m_sequence_uint32;
47 RTCStatsMember<std::vector<int64_t>> m_sequence_int64;
48 RTCStatsMember<std::vector<uint64_t>> m_sequence_uint64;
49 RTCStatsMember<std::vector<double>> m_sequence_double;
50 RTCStatsMember<std::vector<std::string>> m_sequence_string;
51 };
52
53 } // namespace webrtc
54
55 #endif // WEBRTC_STATS_TEST_RTCTESTSTATS_H_
OLDNEW
« no previous file with comments | « webrtc/stats/rtcstats_unittest.cc ('k') | webrtc/stats/test/rtcteststats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698