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

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

Issue 1905073002: Quic will push urls in x-associate-content and link headers upon ResponseHeadersComplete(). Change … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119778209
Patch Set: Rebase Created 4 years, 8 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/quic_spdy_stream.h ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_spdy_client_stream.cc
diff --git a/net/tools/quic/quic_spdy_client_stream.cc b/net/tools/quic/quic_spdy_client_stream.cc
index f589d18cb5b900ada5dcfca581f7cf7362e05a6c..ca3bd78312480109a7009278adbcc82ac79b0bcb 100644
--- a/net/tools/quic/quic_spdy_client_stream.cc
+++ b/net/tools/quic/quic_spdy_client_stream.cc
@@ -118,6 +118,9 @@ void QuicSpdyClientStream::OnPromiseHeadersComplete(QuicStreamId promised_id,
MarkHeadersConsumed(decompressed_headers().length());
session_->HandlePromised(id(), promised_id, promise_headers);
+ if (visitor() != nullptr) {
+ visitor()->OnPromiseHeadersComplete(promised_id, frame_len);
+ }
}
void QuicSpdyClientStream::OnPromiseHeaderList(
« no previous file with comments | « net/quic/quic_spdy_stream.h ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698