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

Side by Side Diff: net/tools/quic/quic_spdy_client_stream.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
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.cc ('k') | net/tools/quic/quic_spdy_client_stream.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_
6 #define NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ 6 #define NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 QuicSpdyClientStream(QuicStreamId id, QuicClientSession* session); 26 QuicSpdyClientStream(QuicStreamId id, QuicClientSession* session);
27 ~QuicSpdyClientStream() override; 27 ~QuicSpdyClientStream() override;
28 28
29 // Override the base class to close the write side as soon as we get a 29 // Override the base class to close the write side as soon as we get a
30 // response. 30 // response.
31 // SPDY/HTTP does not support bidirectional streaming. 31 // SPDY/HTTP does not support bidirectional streaming.
32 void OnStreamFrame(const QuicStreamFrame& frame) override; 32 void OnStreamFrame(const QuicStreamFrame& frame) override;
33 33
34 // Override the base class to parse and store headers. 34 // Override the base class to parse and store headers.
35 void OnInitialHeadersComplete(bool fin, size_t frame_len) override;
36
37 // Override the base class to parse and store headers.
38 void OnInitialHeadersComplete(bool fin, 35 void OnInitialHeadersComplete(bool fin,
39 size_t frame_len, 36 size_t frame_len,
40 const QuicHeaderList& header_list) override; 37 const QuicHeaderList& header_list) override;
41 38
42 // Override the base class to parse and store trailers. 39 // Override the base class to parse and store trailers.
43 void OnTrailingHeadersComplete(bool fin, 40 void OnTrailingHeadersComplete(bool fin,
44 size_t frame_len, 41 size_t frame_len,
45 const QuicHeaderList& header_list) override; 42 const QuicHeaderList& header_list) override;
46 43
47 // Override the base class to handle creation of the push stream. 44 // Override the base class to handle creation of the push stream.
48 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id,
49 size_t frame_len) override;
50
51 // Override the base class to handle creation of the push stream.
52 void OnPromiseHeaderList(QuicStreamId promised_id, 45 void OnPromiseHeaderList(QuicStreamId promised_id,
53 size_t frame_len, 46 size_t frame_len,
54 const QuicHeaderList& header_list) override; 47 const QuicHeaderList& header_list) override;
55 48
56 // ReliableQuicStream implementation called by the session when there's 49 // ReliableQuicStream implementation called by the session when there's
57 // data for us. 50 // data for us.
58 void OnDataAvailable() override; 51 void OnDataAvailable() override;
59 52
60 // Serializes the headers and body, sends it to the server, and 53 // Serializes the headers and body, sends it to the server, and
61 // returns the number of bytes sent. 54 // returns the number of bytes sent.
(...skipping 29 matching lines...) Expand all
91 size_t header_bytes_written_; 84 size_t header_bytes_written_;
92 85
93 QuicClientSession* session_; 86 QuicClientSession* session_;
94 87
95 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream); 88 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream);
96 }; 89 };
97 90
98 } // namespace net 91 } // namespace net
99 92
100 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ 93 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.cc ('k') | net/tools/quic/quic_spdy_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698