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

Unified Diff: net/quic/crypto/crypto_framer.cc

Issue 1227353005: Cleanup changes: Rename QuicSession::MarkWriteBlocked to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « net/quic/crypto/crypto_framer.h ('k') | net/quic/crypto/quic_crypto_server_config_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_framer.cc
diff --git a/net/quic/crypto/crypto_framer.cc b/net/quic/crypto/crypto_framer.cc
index 7f81f3639775c24e15b2e515a6a80ae5cd34d4d3..fe76a7ff1d3e63128fec2183eb39ac8b1dbf82a5 100644
--- a/net/quic/crypto/crypto_framer.cc
+++ b/net/quic/crypto/crypto_framer.cc
@@ -252,12 +252,10 @@ QuicErrorCode CryptoFramer::Process(StringPiece input) {
if (reader.BytesRemaining() < values_len_) {
break;
}
- for (vector<pair<QuicTag, size_t> >::const_iterator
- it = tags_and_lengths_.begin(); it != tags_and_lengths_.end();
- it++) {
+ for (const pair<QuicTag, size_t>& item : tags_and_lengths_) {
StringPiece value;
- reader.ReadStringPiece(&value, it->second);
- message_.SetStringPiece(it->first, value);
+ reader.ReadStringPiece(&value, item.second);
+ message_.SetStringPiece(item.first, value);
}
visitor_->OnHandshakeMessage(message_);
Clear();
« no previous file with comments | « net/quic/crypto/crypto_framer.h ('k') | net/quic/crypto/quic_crypto_server_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698