| 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 | 13 |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 16 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
| 17 #include "net/base/host_port_pair.h" | 18 #include "net/base/host_port_pair.h" |
| 18 #include "net/base/load_timing_info.h" | 19 #include "net/base/load_timing_info.h" |
| 19 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
| 20 #include "net/http/http_auth_controller.h" | 21 #include "net/http/http_auth_controller.h" |
| 21 #include "net/http/http_request_headers.h" | 22 #include "net/http/http_request_headers.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // Only used for posting write callbacks. Weak pointers created by this | 180 // Only used for posting write callbacks. Weak pointers created by this |
| 180 // factory are invalidated in Disconnect(). | 181 // factory are invalidated in Disconnect(). |
| 181 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; | 182 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; |
| 182 | 183 |
| 183 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); | 184 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 } // namespace net | 187 } // namespace net |
| 187 | 188 |
| 188 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 189 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |