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

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

Issue 2915053003: Remove unused BidirectionalStream::SendData() method and implementations. (Closed)
Patch Set: Cleanup Created 3 years, 6 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_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 27 matching lines...) Expand all
38 ~BidirectionalStreamQuicImpl() override; 38 ~BidirectionalStreamQuicImpl() override;
39 39
40 // BidirectionalStreamImpl implementation: 40 // BidirectionalStreamImpl implementation:
41 void Start(const BidirectionalStreamRequestInfo* request_info, 41 void Start(const BidirectionalStreamRequestInfo* request_info,
42 const NetLogWithSource& net_log, 42 const NetLogWithSource& net_log,
43 bool send_request_headers_automatically, 43 bool send_request_headers_automatically,
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,
49 int length,
50 bool end_stream) override;
51 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers, 48 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers,
52 const std::vector<int>& lengths, 49 const std::vector<int>& lengths,
53 bool end_stream) override; 50 bool end_stream) override;
54 NextProto GetProtocol() const override; 51 NextProto GetProtocol() const override;
55 int64_t GetTotalReceivedBytes() const override; 52 int64_t GetTotalReceivedBytes() const override;
56 int64_t GetTotalSentBytes() const override; 53 int64_t GetTotalSentBytes() const override;
57 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 54 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
58 55
59 private: 56 private:
60 // QuicChromiumClientStream::Delegate implementation: 57 // QuicChromiumClientStream::Delegate implementation:
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool may_invoke_callbacks_; 132 bool may_invoke_callbacks_;
136 133
137 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; 134 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_;
138 135
139 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); 136 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl);
140 }; 137 };
141 138
142 } // namespace net 139 } // namespace net
143 140
144 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ 141 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698