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

Unified Diff: net/quic/reliable_quic_stream.cc

Issue 987693006: CL generated with data from dead-code analysis using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_explicit_87956343
Patch Set: Created 5 years, 9 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/reliable_quic_stream.h ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.cc
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
index c997d6b8e5e893f2c50775513f264977500f71ba..adb805197c77693f88362c43a80d3f7fe6e126e3 100644
--- a/net/quic/reliable_quic_stream.cc
+++ b/net/quic/reliable_quic_stream.cc
@@ -96,9 +96,6 @@ class ReliableQuicStream::ProxyAckNotifierDelegate
// True if no pending writes remain.
bool wrote_last_data_;
- // Accumulators.
- int num_original_packets_;
- int num_original_bytes_;
int num_retransmitted_packets_;
int num_retransmitted_bytes_;
@@ -240,10 +237,6 @@ void ReliableQuicStream::CloseConnectionWithDetails(QuicErrorCode error,
session()->connection()->SendConnectionCloseWithDetails(error, details);
}
-QuicVersion ReliableQuicStream::version() const {
- return session()->connection()->version();
-}
-
void ReliableQuicStream::WriteOrBufferData(
StringPiece data,
bool fin,
@@ -509,12 +502,4 @@ void ReliableQuicStream::UpdateSendWindowOffset(QuicStreamOffset new_window) {
}
}
-bool ReliableQuicStream::IsFlowControlBlocked() {
- if (flow_controller_.IsBlocked()) {
- return true;
- }
- return stream_contributes_to_connection_flow_control_ &&
- connection_flow_controller_->IsBlocked();
-}
-
} // namespace net
« no previous file with comments | « net/quic/reliable_quic_stream.h ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698