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

Issue 2937403002: Style fixes in rtcp_packet/ (Closed)

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

Description

Style fixes in rtcp_packet/ 1. To make the files conform to chromium-style guidelines, and stop the compiler from complaing: 1.1. Move constructors out of .h file. 1.2. Move destructors out of .h file. 1.3. Move virtual functions out of .h file. 2. BlockLength() and Create() did not have consistent access modifiers in the various subclasses of RtcpPacket. Change the access level to public throughout. 3. Reorder BlockLength() and Create() where necessary, to reflect the order defined in the parent class (RtcpPacket). BUG=None Review-Url: https://codereview.webrtc.org/2937403002 Cr-Commit-Position: refs/heads/master@{#18633} Committed: https://chromium.googlesource.com/external/webrtc/+/8fa21c49eff52b1848ff16483cc3a07af6acc7ca

Patch Set 1 #

Total comments: 4

Patch Set 2 : CR response #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -119 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h View 3 chunks +4 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/app.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h View 3 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h View 3 chunks +4 lines, -7 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h View 2 chunks +2 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h View 3 chunks +5 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h View 1 chunk +2 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h View 1 chunk +2 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h View 3 chunks +4 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h View 2 chunks +4 lines, -7 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h View 3 chunks +3 lines, -7 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc View 1 2 chunks +15 lines, -15 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h View 1 2 chunks +4 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h View 2 chunks +4 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc View 2 chunks +5 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (6 generated)
eladalon
PTAL
3 years, 6 months ago (2017-06-16 12:42:37 UTC) #2
danilchap
lgtm Nice! Thank you for improving consistency in these classes. https://codereview.webrtc.org/2937403002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc (right): https://codereview.webrtc.org/2937403002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc#newcode113 ...
3 years, 6 months ago (2017-06-16 12:51:40 UTC) #3
nisse-webrtc
lgtm. But be a bit more explicit in the descript, and say that the change ...
3 years, 6 months ago (2017-06-16 12:51:57 UTC) #4
eladalon
nisse@ - done. https://codereview.webrtc.org/2937403002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc (right): https://codereview.webrtc.org/2937403002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc#newcode113 webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc:113: void TargetBitrate::Create(uint8_t* buffer) const { On ...
3 years, 6 months ago (2017-06-16 13:15:04 UTC) #6
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/2937403002/20001
3 years, 6 months ago (2017-06-16 13:16:04 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 14:07:58 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/8fa21c49eff52b1848ff16483...

Powered by Google App Engine
This is Rietveld 408576698