OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/spdy/hpack/hpack_header_table.h" | 5 #include "net/spdy/hpack/hpack_header_table.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "net/spdy/hpack/hpack_constants.h" | 10 #include "net/spdy/hpack/hpack_constants.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 return &dynamic_entries_.front(); | 241 return &dynamic_entries_.front(); |
242 } | 242 } |
243 | 243 |
244 void HpackHeaderTable::DebugLogTableState() const { | 244 void HpackHeaderTable::DebugLogTableState() const { |
245 DVLOG(2) << "Dynamic table:"; | 245 DVLOG(2) << "Dynamic table:"; |
246 for (EntryTable::const_iterator it = dynamic_entries_.begin(); | 246 for (EntryTable::const_iterator it = dynamic_entries_.begin(); |
247 it != dynamic_entries_.end(); ++it) { | 247 it != dynamic_entries_.end(); ++it) { |
248 DVLOG(2) << " " << it->GetDebugString(); | 248 DVLOG(2) << " " << it->GetDebugString(); |
249 } | 249 } |
250 DVLOG(2) << "Full Static Index:"; | 250 DVLOG(2) << "Full Static Index:"; |
251 for (const auto entry : static_index_) { | 251 for (auto* entry : static_index_) { |
252 DVLOG(2) << " " << entry->GetDebugString(); | 252 DVLOG(2) << " " << entry->GetDebugString(); |
253 } | 253 } |
254 DVLOG(2) << "Full Static Name Index:"; | 254 DVLOG(2) << "Full Static Name Index:"; |
255 for (const auto it : static_name_index_) { | 255 for (const auto it : static_name_index_) { |
256 DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString(); | 256 DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString(); |
257 } | 257 } |
258 DVLOG(2) << "Full Dynamic Index:"; | 258 DVLOG(2) << "Full Dynamic Index:"; |
259 for (const auto entry : dynamic_index_) { | 259 for (auto* entry : dynamic_index_) { |
260 DVLOG(2) << " " << entry->GetDebugString(); | 260 DVLOG(2) << " " << entry->GetDebugString(); |
261 } | 261 } |
262 DVLOG(2) << "Full Dynamic Name Index:"; | 262 DVLOG(2) << "Full Dynamic Name Index:"; |
263 for (const auto it : dynamic_name_index_) { | 263 for (const auto it : dynamic_name_index_) { |
264 DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString(); | 264 DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString(); |
265 } | 265 } |
266 } | 266 } |
267 | 267 |
268 } // namespace net | 268 } // namespace net |
OLD | NEW |