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

Unified Diff: net/spdy/spdy_session_pool.cc

Issue 10233016: Add a new UMA histogram for tracking SpdySessionErrorDetails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 8 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
Index: net/spdy/spdy_session_pool.cc
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index bcdbd0ea272c790390567ce6d4180bd7dc48e4a7..277858ef2df5fb507a88ff2dbdd8ec9e7a97456e 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -408,7 +408,7 @@ void SpdySessionPool::CloseAllSessions() {
// This call takes care of removing the session from the pool, as well as
// removing the session list if the list is empty.
session->CloseSessionOnError(
- net::ERR_ABORTED, true, "Closing all sessions.");
+ net::ERR_ABORTED, SPDY_NO_ERROR, true, "Closing all sessions.");
}
}
@@ -430,7 +430,7 @@ void SpdySessionPool::CloseCurrentSessions() {
const scoped_refptr<SpdySession>& session = list->front();
CHECK(session);
session->CloseSessionOnError(
- net::ERR_ABORTED, false, "Closing current sessions.");
+ net::ERR_ABORTED, SPDY_NO_ERROR, false, "Closing current sessions.");
list->pop_front();
if (list->empty()) {
delete list;
@@ -455,7 +455,7 @@ void SpdySessionPool::CloseIdleSessions() {
CHECK(session);
if (!session->is_active()) {
session->CloseSessionOnError(
- net::ERR_ABORTED, true, "Closing idle sessions.");
+ net::ERR_ABORTED, SPDY_NO_ERROR, true, "Closing idle sessions.");
}
}
}

Powered by Google App Engine
This is Rietveld 408576698