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

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

Issue 1997863002: Revert of Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_RELIABLE_CLIENT_STREAM_H_ 7 #ifndef NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 }; 56 };
57 57
58 QuicChromiumClientStream(QuicStreamId id, 58 QuicChromiumClientStream(QuicStreamId id,
59 QuicClientSessionBase* session, 59 QuicClientSessionBase* session,
60 const BoundNetLog& net_log); 60 const BoundNetLog& net_log);
61 61
62 ~QuicChromiumClientStream() override; 62 ~QuicChromiumClientStream() override;
63 63
64 // QuicSpdyStream 64 // QuicSpdyStream
65 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; 65 void OnStreamHeadersComplete(bool fin, size_t frame_len) override;
66 void OnInitialHeadersComplete(bool fin,
67 size_t frame_len,
68 const QuicHeaderList& header_list) override;
69 void OnTrailingHeadersComplete(bool fin,
70 size_t frame_len,
71 const QuicHeaderList& header_list) override;
72 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, 66 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id,
73 size_t frame_len) override; 67 size_t frame_len) override;
74 void OnDataAvailable() override; 68 void OnDataAvailable() override;
75 void OnClose() override; 69 void OnClose() override;
76 void OnCanWrite() override; 70 void OnCanWrite() override;
77 size_t WriteHeaders(const SpdyHeaderBlock& header_block, 71 size_t WriteHeaders(const SpdyHeaderBlock& header_block,
78 bool fin, 72 bool fin,
79 QuicAckListenerInterface* ack_notifier_delegate) override; 73 QuicAckListenerInterface* ack_notifier_delegate) override;
80 SpdyPriority priority() const override; 74 SpdyPriority priority() const override;
81 75
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::deque<base::Closure> delegate_tasks_; 137 std::deque<base::Closure> delegate_tasks_;
144 138
145 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; 139 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_;
146 140
147 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); 141 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream);
148 }; 142 };
149 143
150 } // namespace net 144 } // namespace net
151 145
152 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 146 #endif // NET_QUIC_QUIC_RELIABLE_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