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

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

Issue 1961573002: Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update new test Created 4 years, 7 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 | « net/net.gypi ('k') | net/quic/quic_chromium_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 // NOTE: This code is not shared between Google and Chrome. 5 // NOTE: This code is not shared between Google and Chrome.
6 6
7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ 7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_
8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ 8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }; 58 };
59 59
60 QuicChromiumClientStream(QuicStreamId id, 60 QuicChromiumClientStream(QuicStreamId id,
61 QuicClientSessionBase* session, 61 QuicClientSessionBase* session,
62 const BoundNetLog& net_log); 62 const BoundNetLog& net_log);
63 63
64 ~QuicChromiumClientStream() override; 64 ~QuicChromiumClientStream() override;
65 65
66 // QuicSpdyStream 66 // QuicSpdyStream
67 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; 67 void OnStreamHeadersComplete(bool fin, size_t frame_len) override;
68 void OnInitialHeadersComplete(bool fin,
69 size_t frame_len,
70 const QuicHeaderList& header_list) override;
71 void OnTrailingHeadersComplete(bool fin,
72 size_t frame_len,
73 const QuicHeaderList& header_list) override;
68 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, 74 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id,
69 size_t frame_len) override; 75 size_t frame_len) override;
70 void OnDataAvailable() override; 76 void OnDataAvailable() override;
71 void OnClose() override; 77 void OnClose() override;
72 void OnCanWrite() override; 78 void OnCanWrite() override;
73 size_t WriteHeaders(const SpdyHeaderBlock& header_block, 79 size_t WriteHeaders(const SpdyHeaderBlock& header_block,
74 bool fin, 80 bool fin,
75 QuicAckListenerInterface* ack_notifier_delegate) override; 81 QuicAckListenerInterface* ack_notifier_delegate) override;
76 SpdyPriority priority() const override; 82 SpdyPriority priority() const override;
77 83
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 std::deque<base::Closure> delegate_tasks_; 145 std::deque<base::Closure> delegate_tasks_;
140 146
141 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; 147 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_;
142 148
143 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); 149 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream);
144 }; 150 };
145 151
146 } // namespace net 152 } // namespace net
147 153
148 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ 154 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698