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

Side by Side Diff: webrtc/modules/pacing/packet_router.h

Issue 2913793002: Address some violations of chromium-style. (Closed)
Patch Set: Add empty line. Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 22 matching lines...) Expand all
33 // PacketRouter keeps track of rtp send modules to support the pacer. 33 // PacketRouter keeps track of rtp send modules to support the pacer.
34 // In addition, it handles feedback messages, which are sent on a send 34 // In addition, it handles feedback messages, which are sent on a send
35 // module if possible (sender report), otherwise on receive module 35 // module if possible (sender report), otherwise on receive module
36 // (receiver report). For the latter case, we also keep track of the 36 // (receiver report). For the latter case, we also keep track of the
37 // receive modules. 37 // receive modules.
38 class PacketRouter : public PacedSender::PacketSender, 38 class PacketRouter : public PacedSender::PacketSender,
39 public TransportSequenceNumberAllocator, 39 public TransportSequenceNumberAllocator,
40 public RemoteBitrateObserver { 40 public RemoteBitrateObserver {
41 public: 41 public:
42 PacketRouter(); 42 PacketRouter();
43 virtual ~PacketRouter(); 43 ~PacketRouter() override;
44 44
45 // TODO(nisse): Delete, as soon as downstream app is updated. 45 // TODO(nisse): Delete, as soon as downstream app is updated.
46 RTC_DEPRECATED void AddRtpModule(RtpRtcp* rtp_module) { 46 RTC_DEPRECATED void AddRtpModule(RtpRtcp* rtp_module) {
47 AddReceiveRtpModule(rtp_module); 47 AddReceiveRtpModule(rtp_module);
48 } 48 }
49 RTC_DEPRECATED void RemoveRtpModule(RtpRtcp* rtp_module) { 49 RTC_DEPRECATED void RemoveRtpModule(RtpRtcp* rtp_module) {
50 RemoveReceiveRtpModule(rtp_module); 50 RemoveReceiveRtpModule(rtp_module);
51 } 51 }
52 void AddSendRtpModule(RtpRtcp* rtp_module); 52 void AddSendRtpModule(RtpRtcp* rtp_module);
53 void RemoveSendRtpModule(RtpRtcp* rtp_module); 53 void RemoveSendRtpModule(RtpRtcp* rtp_module);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 uint32_t last_send_bitrate_bps_ GUARDED_BY(remb_crit_); 95 uint32_t last_send_bitrate_bps_ GUARDED_BY(remb_crit_);
96 // The last bitrate update. 96 // The last bitrate update.
97 uint32_t bitrate_bps_ GUARDED_BY(remb_crit_); 97 uint32_t bitrate_bps_ GUARDED_BY(remb_crit_);
98 98
99 volatile int transport_seq_; 99 volatile int transport_seq_;
100 100
101 RTC_DISALLOW_COPY_AND_ASSIGN(PacketRouter); 101 RTC_DISALLOW_COPY_AND_ASSIGN(PacketRouter);
102 }; 102 };
103 } // namespace webrtc 103 } // namespace webrtc
104 #endif // WEBRTC_MODULES_PACING_PACKET_ROUTER_H_ 104 #endif // WEBRTC_MODULES_PACING_PACKET_ROUTER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/paced_sender.h ('k') | webrtc/modules/remote_bitrate_estimator/bwe_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698