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

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

Issue 2462823002: Deletes dead code. (Closed)
Patch Set: Updated patchset dependency Created 4 years, 1 month 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
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 <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const QuicConfig& config); 43 const QuicConfig& config);
44 44
45 ~QuicClientSessionBase() override; 45 ~QuicClientSessionBase() override;
46 46
47 void OnConfigNegotiated() override; 47 void OnConfigNegotiated() override;
48 48
49 // Override base class to set FEC policy before any data is sent by client. 49 // Override base class to set FEC policy before any data is sent by client.
50 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 50 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
51 51
52 // Called by |headers_stream_| when push promise headers have been 52 // Called by |headers_stream_| when push promise headers have been
53 // received for a stream.
54 void OnPromiseHeaders(QuicStreamId stream_id,
55 base::StringPiece headers_data) override;
56
57 // Called by |headers_stream_| when push promise headers have been
58 // completely received.
59 void OnPromiseHeadersComplete(QuicStreamId stream_id,
60 QuicStreamId promised_stream_id,
61 size_t frame_len) override;
62
63 // Called by |headers_stream_| when push promise headers have been
64 // completely received. 53 // completely received.
65 void OnPromiseHeaderList(QuicStreamId stream_id, 54 void OnPromiseHeaderList(QuicStreamId stream_id,
66 QuicStreamId promised_stream_id, 55 QuicStreamId promised_stream_id,
67 size_t frame_len, 56 size_t frame_len,
68 const QuicHeaderList& header_list) override; 57 const QuicHeaderList& header_list) override;
69 58
70 // Called by |QuicSpdyClientStream| on receipt of response headers, 59 // Called by |QuicSpdyClientStream| on receipt of response headers,
71 // needed to detect promised server push streams, as part of 60 // needed to detect promised server push streams, as part of
72 // client-request to push-stream rendezvous. 61 // client-request to push-stream rendezvous.
73 void OnInitialHeadersComplete(QuicStreamId stream_id, 62 void OnInitialHeadersComplete(QuicStreamId stream_id,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 QuicClientPushPromiseIndex* push_promise_index_; 128 QuicClientPushPromiseIndex* push_promise_index_;
140 QuicPromisedByIdMap promised_by_id_; 129 QuicPromisedByIdMap promised_by_id_;
141 QuicStreamId largest_promised_stream_id_; 130 QuicStreamId largest_promised_stream_id_;
142 131
143 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); 132 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase);
144 }; 133 };
145 134
146 } // namespace net 135 } // namespace net
147 136
148 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 137 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_client_promised_info_test.cc ('k') | net/quic/core/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698