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 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "net/http/proxy_client_socket.h" | 25 #include "net/http/proxy_client_socket.h" |
26 #include "net/log/net_log_with_source.h" | 26 #include "net/log/net_log_with_source.h" |
27 #include "net/spdy/spdy_http_stream.h" | 27 #include "net/spdy/spdy_http_stream.h" |
28 #include "net/spdy/spdy_protocol.h" | 28 #include "net/spdy/spdy_protocol.h" |
29 #include "net/spdy/spdy_read_queue.h" | 29 #include "net/spdy/spdy_read_queue.h" |
30 #include "net/spdy/spdy_session.h" | 30 #include "net/spdy/spdy_session.h" |
31 #include "net/spdy/spdy_stream.h" | 31 #include "net/spdy/spdy_stream.h" |
32 | 32 |
33 namespace net { | 33 namespace net { |
34 | 34 |
35 class AddressList; | |
36 class HttpStream; | 35 class HttpStream; |
37 class IOBuffer; | 36 class IOBuffer; |
38 class SpdyStream; | 37 class SpdyStream; |
39 | 38 |
40 class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket, | 39 class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket, |
41 public SpdyStream::Delegate { | 40 public SpdyStream::Delegate { |
42 public: | 41 public: |
43 // Create a socket on top of the |spdy_stream| by sending a HEADERS CONNECT | 42 // Create a socket on top of the |spdy_stream| by sending a HEADERS CONNECT |
44 // frame for |endpoint|. After the response HEADERS frame is received, any | 43 // frame for |endpoint|. After the response HEADERS frame is received, any |
45 // data read/written to the socket will be transferred in data frames. This | 44 // data read/written to the socket will be transferred in data frames. This |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // Only used for posting write callbacks. Weak pointers created by this | 176 // Only used for posting write callbacks. Weak pointers created by this |
178 // factory are invalidated in Disconnect(). | 177 // factory are invalidated in Disconnect(). |
179 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; | 178 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); | 180 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); |
182 }; | 181 }; |
183 | 182 |
184 } // namespace net | 183 } // namespace net |
185 | 184 |
186 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 185 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
OLD | NEW |