| OLD | NEW |
| 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/quic_header_list.h" | 5 #include "net/quic/core/quic_header_list.h" |
| 6 | 6 |
| 7 using std::string; | 7 using std::string; |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 QuicHeaderList::QuicHeaderList() : uncompressed_header_bytes_(0) {} | 11 QuicHeaderList::QuicHeaderList() : uncompressed_header_bytes_(0) {} |
| 12 | 12 |
| 13 QuicHeaderList::QuicHeaderList(QuicHeaderList&& other) = default; | 13 QuicHeaderList::QuicHeaderList(QuicHeaderList&& other) = default; |
| 14 | 14 |
| 15 QuicHeaderList::QuicHeaderList(const QuicHeaderList& other) = default; | 15 QuicHeaderList::QuicHeaderList(const QuicHeaderList& other) = default; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 42 string QuicHeaderList::DebugString() const { | 42 string QuicHeaderList::DebugString() const { |
| 43 string s = "{ "; | 43 string s = "{ "; |
| 44 for (const auto& p : *this) { | 44 for (const auto& p : *this) { |
| 45 s.append(p.first + "=" + p.second + ", "); | 45 s.append(p.first + "=" + p.second + ", "); |
| 46 } | 46 } |
| 47 s.append("}"); | 47 s.append("}"); |
| 48 return s; | 48 return s; |
| 49 } | 49 } |
| 50 | 50 |
| 51 } // namespace net | 51 } // namespace net |
| OLD | NEW |