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

Unified Diff: net/spdy/core/hpack/hpack_header_table.cc

Issue 2895993003: Misc cleanup in net/spdy/core. (Closed)
Patch Set: Rebase. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: net/spdy/core/hpack/hpack_header_table.cc
diff --git a/net/spdy/core/hpack/hpack_header_table.cc b/net/spdy/core/hpack/hpack_header_table.cc
index 3dad08fb995c77a1a96a8e982b97494246750e7d..54bc3ea5295b73f624750061f1fe305fcb98e1bc 100644
--- a/net/spdy/core/hpack/hpack_header_table.cc
+++ b/net/spdy/core/hpack/hpack_header_table.cc
@@ -250,7 +250,7 @@ void HpackHeaderTable::DebugLogTableState() const {
DVLOG(2) << " " << it->GetDebugString();
}
DVLOG(2) << "Full Static Index:";
- for (auto* entry : static_index_) {
+ for (const auto* entry : static_index_) {
DVLOG(2) << " " << entry->GetDebugString();
}
DVLOG(2) << "Full Static Name Index:";
@@ -258,7 +258,7 @@ void HpackHeaderTable::DebugLogTableState() const {
DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString();
}
DVLOG(2) << "Full Dynamic Index:";
- for (auto* entry : dynamic_index_) {
+ for (const auto* entry : dynamic_index_) {
DVLOG(2) << " " << entry->GetDebugString();
}
DVLOG(2) << "Full Dynamic Name Index:";

Powered by Google App Engine
This is Rietveld 408576698