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

Side by Side Diff: net/quic/chromium/bidirectional_stream_quic_impl.h

Issue 2861583004: Remove the QuicChromiumClientStream::Delegate::HasSendHeadersComplete() (Closed)
Patch Set: Rebase Created 3 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 | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 5 #ifndef NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
6 #define NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 6 #define NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 int64_t GetTotalSentBytes() const override; 57 int64_t GetTotalSentBytes() const override;
58 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 58 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
59 59
60 private: 60 private:
61 // QuicChromiumClientStream::Delegate implementation: 61 // QuicChromiumClientStream::Delegate implementation:
62 void OnHeadersAvailable(const SpdyHeaderBlock& headers, 62 void OnHeadersAvailable(const SpdyHeaderBlock& headers,
63 size_t frame_len) override; 63 size_t frame_len) override;
64 void OnDataAvailable() override; 64 void OnDataAvailable() override;
65 void OnClose() override; 65 void OnClose() override;
66 void OnError(int error) override; 66 void OnError(int error) override;
67 bool HasSendHeadersComplete() override;
68 67
69 // QuicChromiumClientSession::Observer implementation: 68 // QuicChromiumClientSession::Observer implementation:
70 void OnCryptoHandshakeConfirmed() override; 69 void OnCryptoHandshakeConfirmed() override;
71 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; 70 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override;
72 void OnSessionClosed(int error, bool port_migration_detected) override; 71 void OnSessionClosed(int error, bool port_migration_detected) override;
73 72
74 void OnStreamReady(int rv); 73 void OnStreamReady(int rv);
75 void OnSendDataComplete(int rv); 74 void OnSendDataComplete(int rv);
76 void OnReadDataComplete(int rv); 75 void OnReadDataComplete(int rv);
77 76
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 bool send_request_headers_automatically_; 129 bool send_request_headers_automatically_;
131 130
132 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; 131 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_;
133 132
134 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); 133 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl);
135 }; 134 };
136 135
137 } // namespace net 136 } // namespace net
138 137
139 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 138 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698