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

Unified Diff: net/spdy/spdy_stream.cc

Issue 2141993002: Remove many-many SpdyMajorVersion and NextProto arguments and members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove OnSynStream() and OnSynReply(). Created 4 years, 5 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') | net/spdy/spdy_stream_unittest.cc » ('j') | 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 09083a00f28d6ebd5719c1f6af51baec0b21deb4..170804e290acf1c3e060fb28572a96997ccf87ec 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -631,10 +631,6 @@ int SpdyStream::OnDataSent(size_t frame_size) {
}
}
-SpdyMajorVersion SpdyStream::GetProtocolVersion() const {
- return session_->GetProtocolVersion();
-}
-
void SpdyStream::LogStreamError(int status, const std::string& description) {
net_log_.AddEvent(NetLog::TYPE_HTTP2_STREAM_ERROR,
base::Bind(&NetLogSpdyStreamErrorCallback, stream_id_,
@@ -755,10 +751,6 @@ bool SpdyStream::IsReservedRemote() const {
return io_state_ == STATE_RESERVED_REMOTE;
}
-NextProto SpdyStream::GetProtocol() const {
- return session_->protocol();
-}
-
void SpdyStream::AddRawReceivedBytes(size_t received_bytes) {
raw_received_bytes_ += received_bytes;
}
@@ -785,7 +777,7 @@ GURL SpdyStream::GetUrlFromHeaders() const {
if (!request_headers_)
return GURL();
- return GetUrlFromHeaderBlock(*request_headers_, GetProtocolVersion());
+ return GetUrlFromHeaderBlock(*request_headers_);
}
bool SpdyStream::HasUrlFromHeaders() const {
« no previous file with comments | « net/spdy/spdy_stream.h ('k') | net/spdy/spdy_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698