| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // On destruction Disconnect() is called. | 54 // On destruction Disconnect() is called. |
| 55 virtual ~SpdyProxyClientSocket(); | 55 virtual ~SpdyProxyClientSocket(); |
| 56 | 56 |
| 57 // ProxyClientSocket methods: | 57 // ProxyClientSocket methods: |
| 58 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; | 58 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; |
| 59 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; | 59 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; |
| 60 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const | 60 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const |
| 61 OVERRIDE; | 61 OVERRIDE; |
| 62 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; | 62 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; |
| 63 virtual bool IsUsingSpdy() const OVERRIDE; | 63 virtual bool IsUsingSpdy() const OVERRIDE; |
| 64 virtual SSLClientSocket::NextProto GetProtocolNegotiated() const OVERRIDE; | 64 virtual NextProto GetProtocolNegotiated() const OVERRIDE; |
| 65 | 65 |
| 66 // StreamSocket implementation. | 66 // StreamSocket implementation. |
| 67 virtual int Connect(const CompletionCallback& callback) OVERRIDE; | 67 virtual int Connect(const CompletionCallback& callback) OVERRIDE; |
| 68 virtual void Disconnect() OVERRIDE; | 68 virtual void Disconnect() OVERRIDE; |
| 69 virtual bool IsConnected() const OVERRIDE; | 69 virtual bool IsConnected() const OVERRIDE; |
| 70 virtual bool IsConnectedAndIdle() const OVERRIDE; | 70 virtual bool IsConnectedAndIdle() const OVERRIDE; |
| 71 virtual const BoundNetLog& NetLog() const OVERRIDE; | 71 virtual const BoundNetLog& NetLog() const OVERRIDE; |
| 72 virtual void SetSubresourceSpeculation() OVERRIDE; | 72 virtual void SetSubresourceSpeculation() OVERRIDE; |
| 73 virtual void SetOmniboxSpeculation() OVERRIDE; | 73 virtual void SetOmniboxSpeculation() OVERRIDE; |
| 74 virtual bool WasEverUsed() const OVERRIDE; | 74 virtual bool WasEverUsed() const OVERRIDE; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; | 164 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; |
| 165 | 165 |
| 166 const BoundNetLog net_log_; | 166 const BoundNetLog net_log_; |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); | 168 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace net | 171 } // namespace net |
| 172 | 172 |
| 173 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 173 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |