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

Unified Diff: webrtc/stats/test/rtcteststats.h

Issue 2373503002: rtc_stats: Update code to remove chromium style warnings suppression. (Closed)
Patch Set: Updated comment 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/stats/test/rtcteststats.h
diff --git a/webrtc/stats/test/rtcteststats.h b/webrtc/stats/test/rtcteststats.h
index c8191eb45beffc6327cd7fdc6441c24d42d6663b..26c8df84e345558ffc9bdfe11458faa00e1c53ec 100644
--- a/webrtc/stats/test/rtcteststats.h
+++ b/webrtc/stats/test/rtcteststats.h
@@ -20,21 +20,11 @@ namespace webrtc {
class RTCTestStats : public RTCStats {
public:
- RTCTestStats(const std::string& id, int64_t timestamp_us);
+ WEBRTC_RTCSTATS_DECL();
- WEBRTC_RTCSTATS_IMPL(RTCStats, RTCTestStats,
- &m_int32,
- &m_uint32,
- &m_int64,
- &m_uint64,
- &m_double,
- &m_string,
- &m_sequence_int32,
- &m_sequence_uint32,
- &m_sequence_int64,
- &m_sequence_uint64,
- &m_sequence_double,
- &m_sequence_string);
+ RTCTestStats(const std::string& id, int64_t timestamp_us);
+ RTCTestStats(const RTCTestStats& other);
+ ~RTCTestStats() override;
RTCStatsMember<int32_t> m_int32;
RTCStatsMember<uint32_t> m_uint32;

Powered by Google App Engine
This is Rietveld 408576698