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

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

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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
« no previous file with comments | « webrtc/modules/pacing/packet_router.h ('k') | webrtc/modules/pacing/packet_router_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 #include "webrtc/modules/pacing/packet_router.h" 11 #include "webrtc/modules/pacing/packet_router.h"
12 12
13 #include "webrtc/base/atomicops.h"
14 #include "webrtc/base/checks.h"
15 #include "webrtc/base/timeutils.h"
16 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 13 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 14 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 15 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
16 #include "webrtc/rtc_base/atomicops.h"
17 #include "webrtc/rtc_base/checks.h"
18 #include "webrtc/rtc_base/timeutils.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 PacketRouter::PacketRouter() 22 PacketRouter::PacketRouter()
23 : last_remb_time_ms_(rtc::TimeMillis()), 23 : last_remb_time_ms_(rtc::TimeMillis()),
24 last_send_bitrate_bps_(0), 24 last_send_bitrate_bps_(0),
25 transport_seq_(0) {} 25 transport_seq_(0) {}
26 26
27 PacketRouter::~PacketRouter() { 27 PacketRouter::~PacketRouter() {
28 RTC_DCHECK(rtp_send_modules_.empty()); 28 RTC_DCHECK(rtp_send_modules_.empty());
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 for (auto* rtp_module : rtp_receive_modules_) { 217 for (auto* rtp_module : rtp_receive_modules_) {
218 packet->SetSenderSsrc(rtp_module->SSRC()); 218 packet->SetSenderSsrc(rtp_module->SSRC());
219 if (rtp_module->SendFeedbackPacket(*packet)) 219 if (rtp_module->SendFeedbackPacket(*packet))
220 return true; 220 return true;
221 } 221 }
222 return false; 222 return false;
223 } 223 }
224 224
225 } // namespace webrtc 225 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/packet_router.h ('k') | webrtc/modules/pacing/packet_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698