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

Unified Diff: net/spdy/spdy_session_spdy2_unittest.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_spdy2_unittest.cc
diff --git a/net/spdy/spdy_session_spdy2_unittest.cc b/net/spdy/spdy_session_spdy2_unittest.cc
index a4afe3a62a717e9331aa6d392d4ca1d889638e0f..a857fe6362a5f5242e81bf7b5b8dcfd695bd770b 100644
--- a/net/spdy/spdy_session_spdy2_unittest.cc
+++ b/net/spdy/spdy_session_spdy2_unittest.cc
@@ -370,7 +370,8 @@ class StreamReleaserCallback : public TestCompletionCallbackBase {
private:
void OnComplete(int result) {
- session_->CloseSessionOnError(ERR_FAILED, false, "On complete.");
+ session_->CloseSessionOnError(ERR_FAILED, SPDY_NO_ERROR, false,
+ "On complete.");
session_ = NULL;
first_stream_->Cancel();
first_stream_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698