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

Unified Diff: net/quic/core/quic_spdy_session.cc

Issue 2462823002: Deletes dead code. (Closed)
Patch Set: Updated patchset dependency Created 4 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/quic/core/quic_spdy_session.h ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_spdy_session.cc
diff --git a/net/quic/core/quic_spdy_session.cc b/net/quic/core/quic_spdy_session.cc
index 36524fb2df4449afd30e68903b0773d188ace5dd..b14df0f663a7454de9f1308dfda789a47c446d55 100644
--- a/net/quic/core/quic_spdy_session.cc
+++ b/net/quic/core/quic_spdy_session.cc
@@ -46,16 +46,6 @@ void QuicSpdySession::Initialize() {
static_streams()[kHeadersStreamId] = headers_stream_.get();
}
-void QuicSpdySession::OnStreamHeaders(QuicStreamId stream_id,
- StringPiece headers_data) {
- QuicSpdyStream* stream = GetSpdyDataStream(stream_id);
- if (!stream) {
- // It's quite possible to receive headers after a stream has been reset.
- return;
- }
- stream->OnStreamHeaders(headers_data);
-}
-
void QuicSpdySession::OnStreamHeadersPriority(QuicStreamId stream_id,
SpdyPriority priority) {
QuicSpdyStream* stream = GetSpdyDataStream(stream_id);
@@ -66,17 +56,6 @@ void QuicSpdySession::OnStreamHeadersPriority(QuicStreamId stream_id,
stream->OnStreamHeadersPriority(priority);
}
-void QuicSpdySession::OnStreamHeadersComplete(QuicStreamId stream_id,
- bool fin,
- size_t frame_len) {
- QuicSpdyStream* stream = GetSpdyDataStream(stream_id);
- if (!stream) {
- // It's quite possible to receive headers after a stream has been reset.
- return;
- }
- stream->OnStreamHeadersComplete(fin, frame_len);
-}
-
void QuicSpdySession::OnStreamHeaderList(QuicStreamId stream_id,
bool fin,
size_t frame_len,
@@ -122,23 +101,6 @@ QuicSpdyStream* QuicSpdySession::GetSpdyDataStream(
return static_cast<QuicSpdyStream*>(GetOrCreateDynamicStream(stream_id));
}
-void QuicSpdySession::OnPromiseHeaders(QuicStreamId stream_id,
- StringPiece headers_data) {
- string error = "OnPromiseHeaders should be overriden in client code.";
- QUIC_BUG << error;
- connection()->CloseConnection(QUIC_INTERNAL_ERROR, error,
- ConnectionCloseBehavior::SILENT_CLOSE);
-}
-
-void QuicSpdySession::OnPromiseHeadersComplete(QuicStreamId stream_id,
- QuicStreamId promised_stream_id,
- size_t frame_len) {
- string error = "OnPromiseHeadersComplete should be overriden in client code.";
- QUIC_BUG << error;
- connection()->CloseConnection(QUIC_INTERNAL_ERROR, error,
- ConnectionCloseBehavior::SILENT_CLOSE);
-}
-
void QuicSpdySession::OnPromiseHeaderList(QuicStreamId stream_id,
QuicStreamId promised_stream_id,
size_t frame_len,
« no previous file with comments | « net/quic/core/quic_spdy_session.h ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698