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

Unified Diff: net/tools/quic/quic_simple_dispatcher.cc

Issue 2751623002: Revert of Server push cancellation: add a finch trial parameter (patchset #14 id:280001 of https://… (Closed)
Patch Set: Created 3 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/tools/quic/quic_simple_dispatcher.h ('k') | net/tools/quic/quic_simple_server_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_dispatcher.cc
diff --git a/net/tools/quic/quic_simple_dispatcher.cc b/net/tools/quic/quic_simple_dispatcher.cc
index e173624489e04fdc01456aeb92fe98e9f67c67d0..cab2925d5f1c02a9d9b1985e1e77364a8a3b447f 100644
--- a/net/tools/quic/quic_simple_dispatcher.cc
+++ b/net/tools/quic/quic_simple_dispatcher.cc
@@ -26,26 +26,6 @@ QuicSimpleDispatcher::QuicSimpleDispatcher(
QuicSimpleDispatcher::~QuicSimpleDispatcher() {}
-int QuicSimpleDispatcher::GetRstErrorCount(
- QuicRstStreamErrorCode error_code) const {
- auto it = rst_error_map_.find(error_code);
- if (it == rst_error_map_.end()) {
- return 0;
- } else {
- return it->second;
- }
-}
-
-void QuicSimpleDispatcher::OnRstStreamReceived(
- const QuicRstStreamFrame& frame) {
- auto it = rst_error_map_.find(frame.error_code);
- if (it == rst_error_map_.end()) {
- rst_error_map_.insert(std::make_pair(frame.error_code, 1));
- } else {
- it->second++;
- }
-}
-
QuicServerSessionBase* QuicSimpleDispatcher::CreateQuicSession(
QuicConnectionId connection_id,
const QuicSocketAddress& client_address) {
« no previous file with comments | « net/tools/quic/quic_simple_dispatcher.h ('k') | net/tools/quic/quic_simple_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698