| 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 |
| 11 #include <list> | 11 #include <list> |
| 12 #include <memory> | 12 #include <memory> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
| 18 #include "net/base/host_port_pair.h" | 18 #include "net/base/host_port_pair.h" |
| 19 #include "net/base/load_timing_info.h" | 19 #include "net/base/load_timing_info.h" |
| 20 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
| 21 #include "net/http/http_auth_controller.h" | 21 #include "net/http/http_auth_controller.h" |
| 22 #include "net/http/http_request_headers.h" | 22 #include "net/http/http_request_headers.h" |
| 23 #include "net/http/http_request_info.h" | 23 #include "net/http/http_request_info.h" |
| 24 #include "net/http/http_response_info.h" | 24 #include "net/http/http_response_info.h" |
| 25 #include "net/http/proxy_client_socket.h" | 25 #include "net/http/proxy_client_socket.h" |
| 26 #include "net/log/net_log_source.h" | 26 #include "net/log/net_log_source.h" |
| 27 #include "net/log/net_log_with_source.h" | 27 #include "net/log/net_log_with_source.h" |
| 28 #include "net/spdy/chromium/spdy_http_stream.h" |
| 29 #include "net/spdy/chromium/spdy_read_queue.h" |
| 30 #include "net/spdy/chromium/spdy_session.h" |
| 31 #include "net/spdy/chromium/spdy_stream.h" |
| 32 #include "net/spdy/core/spdy_protocol.h" |
| 28 #include "net/spdy/platform/api/spdy_string.h" | 33 #include "net/spdy/platform/api/spdy_string.h" |
| 29 #include "net/spdy/spdy_http_stream.h" | |
| 30 #include "net/spdy/spdy_protocol.h" | |
| 31 #include "net/spdy/spdy_read_queue.h" | |
| 32 #include "net/spdy/spdy_session.h" | |
| 33 #include "net/spdy/spdy_stream.h" | |
| 34 | 34 |
| 35 namespace net { | 35 namespace net { |
| 36 | 36 |
| 37 class HttpStream; | 37 class HttpStream; |
| 38 class IOBuffer; | 38 class IOBuffer; |
| 39 class SpdyStream; | 39 class SpdyStream; |
| 40 | 40 |
| 41 class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket, | 41 class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket, |
| 42 public SpdyStream::Delegate { | 42 public SpdyStream::Delegate { |
| 43 public: | 43 public: |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 // Only used for posting write callbacks. Weak pointers created by this | 180 // Only used for posting write callbacks. Weak pointers created by this |
| 181 // factory are invalidated in Disconnect(). | 181 // factory are invalidated in Disconnect(). |
| 182 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; | 182 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; |
| 183 | 183 |
| 184 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); | 184 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); |
| 185 }; | 185 }; |
| 186 | 186 |
| 187 } // namespace net | 187 } // namespace net |
| 188 | 188 |
| 189 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 189 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |