| Index: net/quic/core/quic_client_session_base.cc
|
| diff --git a/net/quic/core/quic_client_session_base.cc b/net/quic/core/quic_client_session_base.cc
|
| index a3533721ed7e1f888c5984c910b53b38ffa011f9..d0e6c4d764507301dce39845ffe71801138e8ea2 100644
|
| --- a/net/quic/core/quic_client_session_base.cc
|
| +++ b/net/quic/core/quic_client_session_base.cc
|
| @@ -7,7 +7,6 @@
|
| #include "net/quic/core/quic_client_promised_info.h"
|
| #include "net/quic/core/quic_flags.h"
|
| #include "net/quic/core/spdy_utils.h"
|
| -#include "net/quic/platform/api/quic_logging.h"
|
|
|
| using base::StringPiece;
|
| using std::string;
|
| @@ -25,7 +24,7 @@
|
| QuicClientSessionBase::~QuicClientSessionBase() {
|
| // all promised streams for this session
|
| for (auto& it : promised_by_id_) {
|
| - QUIC_DVLOG(1) << "erase stream " << it.first << " url " << it.second->url();
|
| + DVLOG(1) << "erase stream " << it.first << " url " << it.second->url();
|
| push_promise_index_->promised_by_url()->erase(it.second->url());
|
| }
|
| delete connection();
|
| @@ -87,13 +86,13 @@
|
| if (IsClosedStream(id)) {
|
| // There was a RST on the data stream already, perhaps
|
| // QUIC_REFUSED_STREAM?
|
| - QUIC_DVLOG(1) << "Promise ignored for stream " << id
|
| - << " that is already closed";
|
| + DVLOG(1) << "Promise ignored for stream " << id
|
| + << " that is already closed";
|
| return false;
|
| }
|
|
|
| if (push_promise_index_->promised_by_url()->size() >= get_max_promises()) {
|
| - QUIC_DVLOG(1) << "Too many promises, rejecting promise for stream " << id;
|
| + DVLOG(1) << "Too many promises, rejecting promise for stream " << id;
|
| ResetPromised(id, QUIC_REFUSED_STREAM);
|
| return false;
|
| }
|
| @@ -101,8 +100,8 @@
|
| const string url = SpdyUtils::GetUrlFromHeaderBlock(headers);
|
| QuicClientPromisedInfo* old_promised = GetPromisedByUrl(url);
|
| if (old_promised) {
|
| - QUIC_DVLOG(1) << "Promise for stream " << id << " is duplicate URL " << url
|
| - << " of previous promise for stream " << old_promised->id();
|
| + DVLOG(1) << "Promise for stream " << id << " is duplicate URL " << url
|
| + << " of previous promise for stream " << old_promised->id();
|
| ResetPromised(id, QUIC_DUPLICATE_PROMISE_URL);
|
| return false;
|
| }
|
| @@ -117,7 +116,7 @@
|
| QuicClientPromisedInfo* promised = new QuicClientPromisedInfo(this, id, url);
|
| std::unique_ptr<QuicClientPromisedInfo> promised_owner(promised);
|
| promised->Init();
|
| - QUIC_DVLOG(1) << "stream " << id << " emplace url " << url;
|
| + DVLOG(1) << "stream " << id << " emplace url " << url;
|
| (*push_promise_index_->promised_by_url())[url] = promised;
|
| promised_by_id_[id] = std::move(promised_owner);
|
| promised->OnPromiseHeaders(headers);
|
|
|