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

Unified Diff: net/spdy/spdy_stream.cc

Issue 22159003: DO NOT COMMIT: More hacks to get HTTP/2 working Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for draft 06 Created 7 years, 2 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/spdy/spdy_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.cc
diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
index a603a6c93e089f758e0e05fa3c121a4a3db88e4e..c6a3ddc96fc067456a0ee108197d23bf361ec9f9 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -518,7 +518,7 @@ void SpdyStream::OnFrameWriteComplete(SpdyFrameType frame_type,
DoLoop(OK);
}
-int SpdyStream::GetProtocolVersion() const {
+SpdyMajorVersion SpdyStream::GetProtocolVersion() const {
return session_->GetProtocolVersion();
}
@@ -547,7 +547,7 @@ void SpdyStream::Cancel() {
return;
if (stream_id_ != 0) {
- session_->ResetStream(stream_id_, RST_STREAM_CANCEL, std::string());
+ session_->ResetStream(stream_id_, RST_STREAM_CANCEL, "Cancelling stream");
} else {
session_->CloseCreatedStream(GetWeakPtr(), RST_STREAM_CANCEL);
}
« no previous file with comments | « net/spdy/spdy_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698