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

Side by Side Diff: net/quic/core/quic_utils.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 | « net/quic/core/quic_utils.h ('k') | net/quic/core/quic_utils_test.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_utils.h" 5 #include "net/quic/core/quic_utils.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/containers/adapters.h" 13 #include "base/containers/adapters.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "net/base/ip_address.h" 18 #include "net/base/ip_address.h"
19 #include "net/quic/quic_flags.h" 19 #include "net/quic/core/quic_flags.h"
20 #include "net/quic/quic_write_blocked_list.h" 20 #include "net/quic/core/quic_write_blocked_list.h"
21 21
22 using base::StringPiece; 22 using base::StringPiece;
23 using std::string; 23 using std::string;
24 24
25 namespace net { 25 namespace net {
26 namespace { 26 namespace {
27 27
28 // We know that >= GCC 4.8 and Clang have a __uint128_t intrinsic. Other 28 // We know that >= GCC 4.8 and Clang have a __uint128_t intrinsic. Other
29 // compilers don't necessarily, notably MSVC. 29 // compilers don't necessarily, notably MSVC.
30 #if defined(__x86_64__) && \ 30 #if defined(__x86_64__) && \
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 564
565 bytes_remaining -= line_bytes; 565 bytes_remaining -= line_bytes;
566 offset += line_bytes; 566 offset += line_bytes;
567 p += line_bytes; 567 p += line_bytes;
568 s += '\n'; 568 s += '\n';
569 } 569 }
570 return s; 570 return s;
571 } 571 }
572 572
573 } // namespace net 573 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_utils.h ('k') | net/quic/core/quic_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698