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

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

Issue 2718633002: debug on ios simulator
Patch Set: add to BUILD.gn test_support_bundle_data Created 3 years, 10 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.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..81b9f6f1c1db672decc001541efe29ea7de69683 100644
--- a/net/tools/quic/quic_simple_dispatcher.cc
+++ b/net/tools/quic/quic_simple_dispatcher.cc
@@ -22,6 +22,7 @@ QuicSimpleDispatcher::QuicSimpleDispatcher(
std::move(helper),
std::move(session_helper),
std::move(alarm_factory)),
+ push_promise_sent_(0),
response_cache_(response_cache) {}
QuicSimpleDispatcher::~QuicSimpleDispatcher() {}
@@ -46,6 +47,10 @@ void QuicSimpleDispatcher::OnRstStreamReceived(
}
}
+void QuicSimpleDispatcher::OnPushPromiseSent() {
+ push_promise_sent_++;
+}
+
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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698