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

Side by Side Diff: net/spdy/bidirectional_stream_spdy_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_ 5 #ifndef NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_
6 #define NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_ 6 #define NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 BidirectionalStreamImpl::Delegate* delegate, 46 BidirectionalStreamImpl::Delegate* delegate,
47 std::unique_ptr<base::Timer> timer) override; 47 std::unique_ptr<base::Timer> timer) override;
48 void SendRequestHeaders() override; 48 void SendRequestHeaders() override;
49 int ReadData(IOBuffer* buf, int buf_len) override; 49 int ReadData(IOBuffer* buf, int buf_len) override;
50 void SendData(const scoped_refptr<IOBuffer>& data, 50 void SendData(const scoped_refptr<IOBuffer>& data,
51 int length, 51 int length,
52 bool end_stream) override; 52 bool end_stream) override;
53 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers, 53 void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers,
54 const std::vector<int>& lengths, 54 const std::vector<int>& lengths,
55 bool end_stream) override; 55 bool end_stream) override;
56 void Cancel() override;
57 NextProto GetProtocol() const override; 56 NextProto GetProtocol() const override;
58 int64_t GetTotalReceivedBytes() const override; 57 int64_t GetTotalReceivedBytes() const override;
59 int64_t GetTotalSentBytes() const override; 58 int64_t GetTotalSentBytes() const override;
60 59
61 // SpdyStream::Delegate implementation: 60 // SpdyStream::Delegate implementation:
62 void OnRequestHeadersSent() override; 61 void OnRequestHeadersSent() override;
63 SpdyResponseHeadersStatus OnResponseHeadersUpdated( 62 SpdyResponseHeadersStatus OnResponseHeadersUpdated(
64 const SpdyHeaderBlock& response_headers) override; 63 const SpdyHeaderBlock& response_headers) override;
65 void OnDataReceived(std::unique_ptr<SpdyBuffer> buffer) override; 64 void OnDataReceived(std::unique_ptr<SpdyBuffer> buffer) override;
66 void OnDataSent() override; 65 void OnDataSent() override;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 scoped_refptr<IOBuffer> pending_combined_buffer_; 108 scoped_refptr<IOBuffer> pending_combined_buffer_;
110 109
111 base::WeakPtrFactory<BidirectionalStreamSpdyImpl> weak_factory_; 110 base::WeakPtrFactory<BidirectionalStreamSpdyImpl> weak_factory_;
112 111
113 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamSpdyImpl); 112 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamSpdyImpl);
114 }; 113 };
115 114
116 } // namespace net 115 } // namespace net
117 116
118 #endif // NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_ 117 #endif // NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc ('k') | net/spdy/bidirectional_stream_spdy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698