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

Side by Side Diff: webrtc/p2p/base/pseudotcp.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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/p2p/base/pseudotcp.h ('k') | webrtc/p2p/base/pseudotcp_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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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/p2p/base/pseudotcp.h" 11 #include "webrtc/p2p/base/pseudotcp.h"
12 12
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 15
16 #include <algorithm> 16 #include <algorithm>
17 #include <memory> 17 #include <memory>
18 #include <set> 18 #include <set>
19 19
20 #include "webrtc/base/arraysize.h" 20 #include "webrtc/rtc_base/arraysize.h"
21 #include "webrtc/base/basictypes.h" 21 #include "webrtc/rtc_base/basictypes.h"
22 #include "webrtc/base/bytebuffer.h" 22 #include "webrtc/rtc_base/bytebuffer.h"
23 #include "webrtc/base/byteorder.h" 23 #include "webrtc/rtc_base/byteorder.h"
24 #include "webrtc/base/checks.h" 24 #include "webrtc/rtc_base/checks.h"
25 #include "webrtc/base/logging.h" 25 #include "webrtc/rtc_base/logging.h"
26 #include "webrtc/base/safe_minmax.h" 26 #include "webrtc/rtc_base/safe_minmax.h"
27 #include "webrtc/base/socket.h" 27 #include "webrtc/rtc_base/socket.h"
28 #include "webrtc/base/stringutils.h" 28 #include "webrtc/rtc_base/stringutils.h"
29 #include "webrtc/base/timeutils.h" 29 #include "webrtc/rtc_base/timeutils.h"
30 30
31 // The following logging is for detailed (packet-level) analysis only. 31 // The following logging is for detailed (packet-level) analysis only.
32 #define _DBG_NONE 0 32 #define _DBG_NONE 0
33 #define _DBG_NORMAL 1 33 #define _DBG_NORMAL 1
34 #define _DBG_VERBOSE 2 34 #define _DBG_VERBOSE 2
35 #define _DEBUGMSG _DBG_NONE 35 #define _DEBUGMSG _DBG_NONE
36 36
37 namespace cricket { 37 namespace cricket {
38 38
39 ////////////////////////////////////////////////////////////////////// 39 //////////////////////////////////////////////////////////////////////
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 m_rbuf_len = new_size; 1273 m_rbuf_len = new_size;
1274 m_rwnd_scale = scale_factor; 1274 m_rwnd_scale = scale_factor;
1275 m_ssthresh = new_size; 1275 m_ssthresh = new_size;
1276 1276
1277 size_t available_space = 0; 1277 size_t available_space = 0;
1278 m_rbuf.GetWriteRemaining(&available_space); 1278 m_rbuf.GetWriteRemaining(&available_space);
1279 m_rcv_wnd = static_cast<uint32_t>(available_space); 1279 m_rcv_wnd = static_cast<uint32_t>(available_space);
1280 } 1280 }
1281 1281
1282 } // namespace cricket 1282 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/pseudotcp.h ('k') | webrtc/p2p/base/pseudotcp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698