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

Side by Side Diff: net/quic/quic_client_session_base.h

Issue 1572013002: relnote: QUIC header streams support to receive PUSH_PROMISE. Protected by --quic_supports_push_pr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14_CL_111507546
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/quic/quic_client_session_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 5 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/quic_crypto_client_stream.h" 9 #include "net/quic/quic_crypto_client_stream.h"
10 #include "net/quic/quic_spdy_session.h" 10 #include "net/quic/quic_spdy_session.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // Called when proof verification details become available, either because 27 // Called when proof verification details become available, either because
28 // proof verification is complete, or when cached details are used. This 28 // proof verification is complete, or when cached details are used. This
29 // will only be called for secure QUIC connections. 29 // will only be called for secure QUIC connections.
30 virtual void OnProofVerifyDetailsAvailable( 30 virtual void OnProofVerifyDetailsAvailable(
31 const ProofVerifyDetails& verify_details) = 0; 31 const ProofVerifyDetails& verify_details) = 0;
32 32
33 // Override base class to set FEC policy before any data is sent by client. 33 // Override base class to set FEC policy before any data is sent by client.
34 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 34 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
35 35
36 // Called by |headers_stream_| when push promise headers have been
37 // received for a stream.
38 void OnPromiseHeaders(QuicStreamId stream_id,
39 StringPiece headers_data) override;
40
41 // Called by |headers_stream_| when push promise headers have been
42 // completely received. |fin| will be true if the fin flag was set
43 // in the headers.
44 void OnPromiseHeadersComplete(QuicStreamId stream_id,
45 QuicStreamId promised_stream_id,
46 size_t frame_len) override;
47
36 private: 48 private:
49 QuicStreamId largest_promised_stream_id_;
50
37 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); 51 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase);
38 }; 52 };
39 53
40 } // namespace net 54 } // namespace net
41 55
42 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 56 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698