| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SOCKET_STREAM_SOCKET_STREAM_H_ | 5 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 int DoSOCKSConnect(); | 284 int DoSOCKSConnect(); |
| 285 int DoSOCKSConnectComplete(int result); | 285 int DoSOCKSConnectComplete(int result); |
| 286 int DoSecureProxyConnect(); | 286 int DoSecureProxyConnect(); |
| 287 int DoSecureProxyConnectComplete(int result); | 287 int DoSecureProxyConnectComplete(int result); |
| 288 int DoSSLConnect(); | 288 int DoSSLConnect(); |
| 289 int DoSSLConnectComplete(int result); | 289 int DoSSLConnectComplete(int result); |
| 290 int DoReadWrite(int result); | 290 int DoReadWrite(int result); |
| 291 | 291 |
| 292 GURL ProxyAuthOrigin() const; | 292 GURL ProxyAuthOrigin() const; |
| 293 int HandleAuthChallenge(const HttpResponseHeaders* headers); | 293 int HandleAuthChallenge(const HttpResponseHeaders* headers); |
| 294 int HandleCertificateRequest(int result); |
| 294 void DoAuthRequired(); | 295 void DoAuthRequired(); |
| 295 void DoRestartWithAuth(); | 296 void DoRestartWithAuth(); |
| 296 | 297 |
| 297 int HandleCertificateError(int result); | 298 int HandleCertificateError(int result); |
| 298 | 299 |
| 299 SSLConfigService* ssl_config_service() const; | 300 SSLConfigService* ssl_config_service() const; |
| 300 ProxyService* proxy_service() const; | 301 ProxyService* proxy_service() const; |
| 301 | 302 |
| 302 BoundNetLog net_log_; | 303 BoundNetLog net_log_; |
| 303 | 304 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 bool server_closed_; | 361 bool server_closed_; |
| 361 | 362 |
| 362 scoped_ptr<SocketStreamMetrics> metrics_; | 363 scoped_ptr<SocketStreamMetrics> metrics_; |
| 363 | 364 |
| 364 DISALLOW_COPY_AND_ASSIGN(SocketStream); | 365 DISALLOW_COPY_AND_ASSIGN(SocketStream); |
| 365 }; | 366 }; |
| 366 | 367 |
| 367 } // namespace net | 368 } // namespace net |
| 368 | 369 |
| 369 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 370 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| OLD | NEW |