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

Unified Diff: net/quic/quic_spdy_stream.h

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_client_promised_info.h ('k') | net/tools/quic/quic_spdy_client_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_stream.h
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h
index 0f0cb9bee42a07079bdc23387d5c4b93334e2046..ea661fc80f88c285d0df1ebf01b8ce18e3bce98c 100644
--- a/net/quic/quic_spdy_stream.h
+++ b/net/quic/quic_spdy_stream.h
@@ -52,6 +52,10 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// Called when the stream is closed.
virtual void OnClose(QuicSpdyStream* stream) = 0;
+ // Allows subclasses to override and do work.
+ virtual void OnPromiseHeadersComplete(QuicStreamId promised_id,
+ size_t frame_len) {}
+
protected:
virtual ~Visitor() {}
« no previous file with comments | « net/quic/quic_client_promised_info.h ('k') | net/tools/quic/quic_spdy_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698