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

Unified Diff: net/spdy/spdy_http_stream.cc

Issue 2675593002: Spdy{RstStream,GoAway}Status -> SpdyErrorCode. (Closed)
Patch Set: Unsigned vs signed int 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
Index: net/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index 1a0ae22d1319dfe62c043a67aa31a01faf5ca060..700f17fef8f6b519927672c639306d4e485c385a 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -6,6 +6,8 @@
#include <algorithm>
#include <list>
+#include <memory>
+#include <string>
#include <utility>
#include "base/bind.h"
@@ -436,7 +438,7 @@ void SpdyHttpStream::InitializeStreamHelper() {
}
void SpdyHttpStream::ResetStreamInternal() {
- spdy_session_->ResetStream(stream()->stream_id(), RST_STREAM_INTERNAL_ERROR,
+ spdy_session_->ResetStream(stream()->stream_id(), ERROR_CODE_INTERNAL_ERROR,
std::string());
}

Powered by Google App Engine
This is Rietveld 408576698