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

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

Issue 2227083002: Remove net::BidirectionalStream::Cancel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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
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_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 5 #ifndef NET_QUIC_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
6 #define NET_QUIC_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 6 #define NET_QUIC_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 BidirectionalStreamImpl::Delegate* delegate, 44 BidirectionalStreamImpl::Delegate* delegate,
45 std::unique_ptr<base::Timer> timer) override; 45 std::unique_ptr<base::Timer> timer) override;
46 void SendRequestHeaders() override; 46 void SendRequestHeaders() override;
47 int ReadData(IOBuffer* buffer, int buffer_len) override; 47 int ReadData(IOBuffer* buffer, int buffer_len) override;
48 void SendData(const scoped_refptr<IOBuffer>& data, 48 void SendData(const scoped_refptr<IOBuffer>& data,
49 int length, 49 int length,
50 bool end_stream) override; 50 bool end_stream) override;
51 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers, 51 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers,
52 const std::vector<int>& lengths, 52 const std::vector<int>& lengths,
53 bool end_stream) override; 53 bool end_stream) override;
54 void Cancel() override;
55 NextProto GetProtocol() const override; 54 NextProto GetProtocol() const override;
56 int64_t GetTotalReceivedBytes() const override; 55 int64_t GetTotalReceivedBytes() const override;
57 int64_t GetTotalSentBytes() const override; 56 int64_t GetTotalSentBytes() const override;
58 57
59 private: 58 private:
60 // QuicChromiumClientStream::Delegate implementation: 59 // QuicChromiumClientStream::Delegate implementation:
61 void OnHeadersAvailable(const SpdyHeaderBlock& headers, 60 void OnHeadersAvailable(const SpdyHeaderBlock& headers,
62 size_t frame_len) override; 61 size_t frame_len) override;
63 void OnDataAvailable() override; 62 void OnDataAvailable() override;
64 void OnClose() override; 63 void OnClose() override;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool waiting_for_confirmation_; 123 bool waiting_for_confirmation_;
125 124
126 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; 125 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_;
127 126
128 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); 127 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl);
129 }; 128 };
130 129
131 } // namespace net 130 } // namespace net
132 131
133 #endif // NET_QUIC_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 132 #endif // NET_QUIC_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698