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

Unified Diff: net/tools/quic/quic_simple_server_session.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.cc ('k') | net/tools/quic/test_tools/mock_quic_session_visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_session.cc
diff --git a/net/tools/quic/quic_simple_server_session.cc b/net/tools/quic/quic_simple_server_session.cc
index 5f60d7427bd42f54fc978e76e2e6ffd84911271a..1eaa41e18f710a4a8a62b7004b49f2a8174fa1e9 100644
--- a/net/tools/quic/quic_simple_server_session.cc
+++ b/net/tools/quic/quic_simple_server_session.cc
@@ -178,6 +178,9 @@ void QuicSimpleServerSession::SendPushPromise(QuicStreamId original_stream_id,
QUIC_DLOG(INFO) << "stream " << original_stream_id
<< " send PUSH_PROMISE for promised stream "
<< promised_stream_id;
+ if (visitor_) {
+ visitor_->OnPushPromiseSent();
+ }
WritePushPromise(original_stream_id, promised_stream_id, std::move(headers));
}
« no previous file with comments | « net/tools/quic/quic_simple_dispatcher.cc ('k') | net/tools/quic/test_tools/mock_quic_session_visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698