OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // NOTE: This code is not shared between Google and Chrome. | 5 // NOTE: This code is not shared between Google and Chrome. |
6 | 6 |
7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <deque> | 12 #include <deque> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
18 #include "net/base/upload_data_stream.h" | 18 #include "net/base/upload_data_stream.h" |
19 #include "net/http/http_request_info.h" | 19 #include "net/http/http_request_info.h" |
20 #include "net/http/http_response_info.h" | 20 #include "net/http/http_response_info.h" |
21 #include "net/http/http_stream.h" | 21 #include "net/http/http_stream.h" |
22 #include "net/quic/quic_spdy_stream.h" | 22 #include "net/quic/core/quic_spdy_stream.h" |
23 | 23 |
24 namespace net { | 24 namespace net { |
25 | 25 |
26 class QuicClientSessionBase; | 26 class QuicClientSessionBase; |
27 | 27 |
28 // A client-initiated ReliableQuicStream. Instances of this class | 28 // A client-initiated ReliableQuicStream. Instances of this class |
29 // are owned by the QuicClientSession which created them. | 29 // are owned by the QuicClientSession which created them. |
30 class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream { | 30 class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream { |
31 public: | 31 public: |
32 // Delegate handles protocol specific behavior of a quic stream. | 32 // Delegate handles protocol specific behavior of a quic stream. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 std::deque<base::Closure> delegate_tasks_; | 148 std::deque<base::Closure> delegate_tasks_; |
149 | 149 |
150 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; | 150 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; |
151 | 151 |
152 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); | 152 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); |
153 }; | 153 }; |
154 | 154 |
155 } // namespace net | 155 } // namespace net |
156 | 156 |
157 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 157 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
OLD | NEW |