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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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_framer_test.cc ('k') | net/quic/core/quic_header_list_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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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/core/quic_header_list.h" 5 #include "net/quic/core/quic_header_list.h"
6 6
7 #include "net/quic/core/quic_flags.h"
8 #include "net/quic/core/quic_packets.h" 7 #include "net/quic/core/quic_packets.h"
8 #include "net/quic/platform/api/quic_flags.h"
9 9
10 using std::string; 10 using std::string;
11 11
12 namespace net { 12 namespace net {
13 13
14 QuicHeaderList::QuicHeaderList() 14 QuicHeaderList::QuicHeaderList()
15 : max_uncompressed_header_bytes_(kDefaultMaxUncompressedHeaderSize), 15 : max_uncompressed_header_bytes_(kDefaultMaxUncompressedHeaderSize),
16 uncompressed_header_bytes_(0) {} 16 uncompressed_header_bytes_(0) {}
17 17
18 QuicHeaderList::QuicHeaderList(QuicHeaderList&& other) = default; 18 QuicHeaderList::QuicHeaderList(QuicHeaderList&& other) = default;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 string QuicHeaderList::DebugString() const { 60 string QuicHeaderList::DebugString() const {
61 string s = "{ "; 61 string s = "{ ";
62 for (const auto& p : *this) { 62 for (const auto& p : *this) {
63 s.append(p.first + "=" + p.second + ", "); 63 s.append(p.first + "=" + p.second + ", ");
64 } 64 }
65 s.append("}"); 65 s.append("}");
66 return s; 66 return s;
67 } 67 }
68 68
69 } // namespace net 69 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_header_list_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698