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

Issue 2373503002: rtc_stats: Update code to remove chromium style warnings suppression. (Closed)

Created:
4 years, 2 months ago by hbos
Modified:
4 years, 2 months ago
Reviewers:
hta-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

rtc_stats: Update code to remove chromium style warnings suppression. The warning previously suppressed made it possible to define tings like constructors in the header, and "complex" objects did not need to have an explicit out-of-line copy constructor, destructor, etc. To be able to not suppress this warning, the RTCStats macro was split into a WEBRTC_RTCSTATS_DECL() and WEBRTC_RTCSTATS_IMPL() for .h and .cc respectively. Some copy constructors are also defined. BUG=chromium:627816 Committed: https://crrev.com/fc5e0504ea0dd341046779881908d4640617a2f0 Cr-Commit-Position: refs/heads/master@{#14545}

Patch Set 1 #

Patch Set 2 : rtc_stats_unittests still needs to suppress warning due to webrtc/base header inclusions #

Patch Set 3 : Updated comment #

Total comments: 4

Patch Set 4 : Addressed comments and rebase with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -86 lines) Patch
M webrtc/api/rtcstatscollector_unittest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/api/stats/rtcstats.h View 1 2 3 3 chunks +42 lines, -23 lines 0 comments Download
M webrtc/api/stats/rtcstats_objects.h View 1 2 3 2 chunks +8 lines, -10 lines 0 comments Download
M webrtc/stats/BUILD.gn View 1 2 chunks +0 lines, -10 lines 0 comments Download
M webrtc/stats/rtcstats_objects.cc View 1 2 3 3 chunks +30 lines, -2 lines 0 comments Download
M webrtc/stats/rtcstats_unittest.cc View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M webrtc/stats/rtcstatsreport_unittest.cc View 1 chunk +12 lines, -12 lines 0 comments Download
M webrtc/stats/test/rtcteststats.h View 1 2 3 1 chunk +4 lines, -16 lines 0 comments Download
M webrtc/stats/test/rtcteststats.cc View 1 2 3 2 chunks +36 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
hbos
Please take a look, hta.
4 years, 2 months ago (2016-09-26 14:17:59 UTC) #2
hbos
Ping hta
4 years, 2 months ago (2016-09-29 12:21:21 UTC) #3
hta-webrtc
lgtm comment nits, as usual. https://codereview.webrtc.org/2373503002/diff/40001/webrtc/api/stats/rtcstats.h File webrtc/api/stats/rtcstats.h (right): https://codereview.webrtc.org/2373503002/diff/40001/webrtc/api/stats/rtcstats.h#newcode98 webrtc/api/stats/rtcstats.h:98: // The macro declares ...
4 years, 2 months ago (2016-10-04 13:51:05 UTC) #4
hbos
https://codereview.webrtc.org/2373503002/diff/40001/webrtc/api/stats/rtcstats.h File webrtc/api/stats/rtcstats.h (right): https://codereview.webrtc.org/2373503002/diff/40001/webrtc/api/stats/rtcstats.h#newcode98 webrtc/api/stats/rtcstats.h:98: // The macro declares and defines the static |kType| ...
4 years, 2 months ago (2016-10-06 08:38:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2373503002/60001
4 years, 2 months ago (2016-10-06 08:39:05 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-06 09:06:13 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 09:06:19 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fc5e0504ea0dd341046779881908d4640617a2f0
Cr-Commit-Position: refs/heads/master@{#14545}

Powered by Google App Engine
This is Rietveld 408576698