OLD | NEW |
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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "net/base/load_timing_info.h" | 16 #include "net/base/load_timing_info.h" |
17 #include "net/http/bidirectional_stream_impl.h" | 17 #include "net/http/bidirectional_stream_impl.h" |
18 #include "net/http/bidirectional_stream_request_info.h" | 18 #include "net/http/bidirectional_stream_request_info.h" |
19 #include "net/http/http_request_info.h" | 19 #include "net/http/http_request_info.h" |
20 #include "net/spdy/spdy_read_queue.h" | 20 #include "net/spdy/spdy_read_queue.h" |
21 #include "net/spdy/spdy_session.h" | 21 #include "net/spdy/spdy_session.h" |
22 #include "net/spdy/spdy_stream.h" | 22 #include "net/spdy/spdy_stream.h" |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class Timer; | 25 class Timer; |
26 } // namespace base | 26 } // namespace base |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
| 30 class IOBuffer; |
30 class NetLogWithSource; | 31 class NetLogWithSource; |
31 class IOBuffer; | |
32 class SpdyHeaderBlock; | 32 class SpdyHeaderBlock; |
33 | 33 |
34 class NET_EXPORT_PRIVATE BidirectionalStreamSpdyImpl | 34 class NET_EXPORT_PRIVATE BidirectionalStreamSpdyImpl |
35 : public BidirectionalStreamImpl, | 35 : public BidirectionalStreamImpl, |
36 public SpdyStream::Delegate { | 36 public SpdyStream::Delegate { |
37 public: | 37 public: |
38 explicit BidirectionalStreamSpdyImpl( | 38 explicit BidirectionalStreamSpdyImpl( |
39 const base::WeakPtr<SpdySession>& spdy_session); | 39 const base::WeakPtr<SpdySession>& spdy_session); |
40 | 40 |
41 ~BidirectionalStreamSpdyImpl() override; | 41 ~BidirectionalStreamSpdyImpl() override; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 scoped_refptr<IOBuffer> pending_combined_buffer_; | 115 scoped_refptr<IOBuffer> pending_combined_buffer_; |
116 | 116 |
117 base::WeakPtrFactory<BidirectionalStreamSpdyImpl> weak_factory_; | 117 base::WeakPtrFactory<BidirectionalStreamSpdyImpl> weak_factory_; |
118 | 118 |
119 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamSpdyImpl); | 119 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamSpdyImpl); |
120 }; | 120 }; |
121 | 121 |
122 } // namespace net | 122 } // namespace net |
123 | 123 |
124 #endif // NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_ | 124 #endif // NET_SPDY_BIDIRECTIONAL_STREAM_SPDY_IMPL_H_ |
OLD | NEW |