| Index: net/quic/core/quic_crypto_client_stream.cc
|
| diff --git a/net/quic/core/quic_crypto_client_stream.cc b/net/quic/core/quic_crypto_client_stream.cc
|
| index 98a64abafd8c8fd156b7784bc80f8e00e297bb26..381b1142ed2b3387ab05e1448f6b449d5d20540f 100644
|
| --- a/net/quic/core/quic_crypto_client_stream.cc
|
| +++ b/net/quic/core/quic_crypto_client_stream.cc
|
| @@ -17,11 +17,14 @@
|
| #include "net/quic/core/quic_packets.h"
|
| #include "net/quic/core/quic_session.h"
|
| #include "net/quic/core/quic_utils.h"
|
| +#include "net/quic/platform/api/quic_str_cat.h"
|
|
|
| using std::string;
|
|
|
| namespace net {
|
|
|
| +const int QuicCryptoClientStream::kMaxClientHellos;
|
| +
|
| QuicCryptoClientStreamBase::QuicCryptoClientStreamBase(QuicSession* session)
|
| : QuicCryptoStream(session) {}
|
|
|
| @@ -277,7 +280,7 @@ void QuicCryptoClientStream::DoSendCHLO(
|
| if (num_client_hellos_ > kMaxClientHellos) {
|
| CloseConnectionWithDetails(
|
| QUIC_CRYPTO_TOO_MANY_REJECTS,
|
| - base::StringPrintf("More than %u rejects", kMaxClientHellos).c_str());
|
| + QuicStrCat("More than ", kMaxClientHellos, " rejects"));
|
| return;
|
| }
|
| num_client_hellos_++;
|
|
|