| Index: net/quic/core/quic_client_promised_info.cc
|
| diff --git a/net/quic/core/quic_client_promised_info.cc b/net/quic/core/quic_client_promised_info.cc
|
| index 186b192c5f2658ef8511bf859879de21ff315473..a08ff456065c7dcbbbd2397737f1b80a2fdd711f 100644
|
| --- a/net/quic/core/quic_client_promised_info.cc
|
| +++ b/net/quic/core/quic_client_promised_info.cc
|
| @@ -4,8 +4,8 @@
|
|
|
| #include "net/quic/core/quic_client_promised_info.h"
|
|
|
| -#include "base/logging.h"
|
| #include "net/quic/core/spdy_utils.h"
|
| +#include "net/quic/platform/api/quic_logging.h"
|
|
|
| using net::SpdyHeaderBlock;
|
| using net::kPushPromiseTimeoutSecs;
|
| @@ -24,7 +24,7 @@ QuicClientPromisedInfo::QuicClientPromisedInfo(QuicClientSessionBase* session,
|
| QuicClientPromisedInfo::~QuicClientPromisedInfo() {}
|
|
|
| void QuicClientPromisedInfo::CleanupAlarm::OnAlarm() {
|
| - DVLOG(1) << "self GC alarm for stream " << promised_->id_;
|
| + QUIC_DVLOG(1) << "self GC alarm for stream " << promised_->id_;
|
| promised_->session()->OnPushStreamTimedOut(promised_->id_);
|
| promised_->Reset(QUIC_PUSH_STREAM_TIMED_OUT);
|
| }
|
| @@ -43,13 +43,14 @@ void QuicClientPromisedInfo::OnPromiseHeaders(const SpdyHeaderBlock& headers) {
|
| SpdyHeaderBlock::const_iterator it = headers.find(":method");
|
| DCHECK(it != headers.end());
|
| if (!(it->second == "GET" || it->second == "HEAD")) {
|
| - DVLOG(1) << "Promise for stream " << id_ << " has invalid method "
|
| - << it->second;
|
| + QUIC_DVLOG(1) << "Promise for stream " << id_ << " has invalid method "
|
| + << it->second;
|
| Reset(QUIC_INVALID_PROMISE_METHOD);
|
| return;
|
| }
|
| if (!SpdyUtils::UrlIsValid(headers)) {
|
| - DVLOG(1) << "Promise for stream " << id_ << " has invalid URL " << url_;
|
| + QUIC_DVLOG(1) << "Promise for stream " << id_ << " has invalid URL "
|
| + << url_;
|
| Reset(QUIC_INVALID_PROMISE_URL);
|
| return;
|
| }
|
|
|