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

Issue 2756483002: Use RTC_UNUSED instead of conditional compilation in BWE simulator tool. (Closed)

Created:
3 years, 9 months ago by terelius
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Use RTC_UNUSED instead of conditional compilation in BWE simulator tool. Mark ATTRIBUTE_UNUSED as deprecated since it only works with GCC and clang. I am not removing it now since typedefs.h is (perhaps incorrectly?) considered a public interface. BUG=webrtc:7228 Review-Url: https://codereview.webrtc.org/2756483002 Cr-Commit-Position: refs/heads/master@{#17291} Committed: https://chromium.googlesource.com/external/webrtc/+/a2bb667a9bc52f85b3ce5757aca37a9d02073f01

Patch Set 1 #

Patch Set 2 : Remove compiler dependent ATTRIBUTE_UNUSED macro. Bring back RTC_UNUSED. #

Patch Set 3 : Keep ATTRIBUTE_UNUSED macro, but mark it as deprecated. #

Patch Set 4 : Make the inline function static. #

Total comments: 8

Patch Set 5 : Attempt static_cast<void>(x) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -17 lines) Patch
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc View 1 3 chunks +2 lines, -4 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/metric_recorder.cc View 1 5 chunks +10 lines, -4 lines 0 comments Download
M webrtc/typedefs.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
terelius
3 years, 9 months ago (2017-03-15 16:26:25 UTC) #4
nisse-webrtc
lgtm In principle, I think that when this logging is disabled at compile time, *all* ...
3 years, 9 months ago (2017-03-16 08:06:51 UTC) #7
terelius
The CL now passes the trybots. Please take another look.
3 years, 9 months ago (2017-03-17 09:50:44 UTC) #21
nisse-webrtc
https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h File webrtc/typedefs.h (right): https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h#newcode116 webrtc/typedefs.h:116: // assert(result == 17); I think the example is ...
3 years, 9 months ago (2017-03-17 10:16:37 UTC) #22
terelius
https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h File webrtc/typedefs.h (right): https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h#newcode116 webrtc/typedefs.h:116: // assert(result == 17); On 2017/03/17 10:16:37, nisse-webrtc wrote: ...
3 years, 9 months ago (2017-03-17 10:28:55 UTC) #23
nisse-webrtc
https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h File webrtc/typedefs.h (right): https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h#newcode116 webrtc/typedefs.h:116: // assert(result == 17); On 2017/03/17 10:28:54, terelius wrote: ...
3 years, 9 months ago (2017-03-17 10:41:42 UTC) #24
terelius
https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h File webrtc/typedefs.h (right): https://codereview.webrtc.org/2756483002/diff/60001/webrtc/typedefs.h#newcode116 webrtc/typedefs.h:116: // assert(result == 17); On 2017/03/17 10:41:42, nisse-webrtc wrote: ...
3 years, 9 months ago (2017-03-17 11:59:15 UTC) #29
nisse-webrtc
lgtm (again).
3 years, 9 months ago (2017-03-17 12:07:16 UTC) #30
stefan-webrtc
lgtm
3 years, 9 months ago (2017-03-17 13:18:12 UTC) #31
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/2756483002/70001
3 years, 9 months ago (2017-03-17 13:32:53 UTC) #33
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 13:34:52 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/external/webrtc/+/a2bb667a9bc52f85b3ce5757a...

Powered by Google App Engine
This is Rietveld 408576698