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

Unified Diff: net/quic/core/quic_client_session_base.cc

Issue 2629723003: Revert of Add quic_logging (Closed)
Patch Set: Created 3 years, 11 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/core/quic_client_promised_info_test.cc ('k') | net/quic/core/quic_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/quic/core/quic_client_promised_info_test.cc ('k') | net/quic/core/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698