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

Unified Diff: net/quic/quic_config.cc

Issue 331573002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compiler error - use push_back to initialize vectors Created 6 years, 6 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/quic_random.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index b9703c42a1d577ff3a3573e3fa9877fbe552422e..215c362f53a0d2001bec022a9e169e2b05e69e0d 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -109,8 +109,8 @@ QuicErrorCode QuicNegotiableUint32::ProcessPeerHello(
return error;
}
if (hello_type == SERVER && value > max_value_) {
- *error_details = "Invalid value received for " +
- QuicUtils::TagToString(tag_);
+ *error_details =
+ "Invalid value received for " + QuicUtils::TagToString(tag_);
return QUIC_INVALID_NEGOTIATED_VALUE;
}
@@ -228,7 +228,8 @@ bool QuicFixedUint32::HasSendValue() const {
}
uint32 QuicFixedUint32::GetSendValue() const {
- LOG_IF(DFATAL, !has_send_value_) << "No send value to get for tag:" << tag_;
+ LOG_IF(DFATAL, !has_send_value_)
+ << "No send value to get for tag:" << QuicUtils::TagToString(tag_);
return send_value_;
}
@@ -243,7 +244,7 @@ bool QuicFixedUint32::HasReceivedValue() const {
uint32 QuicFixedUint32::GetReceivedValue() const {
LOG_IF(DFATAL, !has_receive_value_)
- << "No receive value to get for tag:" << tag_;
+ << "No receive value to get for tag:" << QuicUtils::TagToString(tag_);
return receive_value_;
}
@@ -295,7 +296,8 @@ bool QuicFixedTag::HasSendValue() const {
}
uint32 QuicFixedTag::GetSendValue() const {
- LOG_IF(DFATAL, !has_send_value_) << "No send value to get for tag:" << tag_;
+ LOG_IF(DFATAL, !has_send_value_)
+ << "No send value to get for tag:" << QuicUtils::TagToString(tag_);
return send_value_;
}
@@ -310,7 +312,7 @@ bool QuicFixedTag::HasReceivedValue() const {
uint32 QuicFixedTag::GetReceivedValue() const {
LOG_IF(DFATAL, !has_receive_value_)
- << "No receive value to get for tag:" << tag_;
+ << "No receive value to get for tag:" << QuicUtils::TagToString(tag_);
return receive_value_;
}
@@ -362,7 +364,8 @@ bool QuicFixedTagVector::HasSendValues() const {
}
QuicTagVector QuicFixedTagVector::GetSendValues() const {
- LOG_IF(DFATAL, !has_send_values_) << "No send values to get for tag:" << tag_;
+ LOG_IF(DFATAL, !has_send_values_)
+ << "No send values to get for tag:" << QuicUtils::TagToString(tag_);
return send_values_;
}
@@ -377,7 +380,7 @@ bool QuicFixedTagVector::HasReceivedValues() const {
QuicTagVector QuicFixedTagVector::GetReceivedValues() const {
LOG_IF(DFATAL, !has_receive_values_)
- << "No receive value to get for tag:" << tag_;
+ << "No receive value to get for tag:" << QuicUtils::TagToString(tag_);
return receive_values_;
}
« no previous file with comments | « net/quic/crypto/quic_random.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698