| 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/log/net_log_with_source.h" |
| 22 #include "net/quic/core/quic_spdy_stream.h" | 23 #include "net/quic/core/quic_spdy_stream.h" |
| 23 | 24 |
| 24 namespace net { | 25 namespace net { |
| 25 | 26 |
| 26 class QuicClientSessionBase; | 27 class QuicClientSessionBase; |
| 27 | 28 |
| 28 // A client-initiated ReliableQuicStream. Instances of this class | 29 // A client-initiated ReliableQuicStream. Instances of this class |
| 29 // are owned by the QuicClientSession which created them. | 30 // are owned by the QuicClientSession which created them. |
| 30 class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream { | 31 class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream { |
| 31 public: | 32 public: |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 std::deque<base::Closure> delegate_tasks_; | 152 std::deque<base::Closure> delegate_tasks_; |
| 152 | 153 |
| 153 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; | 154 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; |
| 154 | 155 |
| 155 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); | 156 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); |
| 156 }; | 157 }; |
| 157 | 158 |
| 158 } // namespace net | 159 } // namespace net |
| 159 | 160 |
| 160 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 161 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
| OLD | NEW |