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_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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 19 matching lines...) Expand all Loading... |
30 class CertVerifier; | 30 class CertVerifier; |
31 class ClientSocketFactory; | 31 class ClientSocketFactory; |
32 class CookieOptions; | 32 class CookieOptions; |
33 class HostResolver; | 33 class HostResolver; |
34 class HttpAuthController; | 34 class HttpAuthController; |
35 class SSLInfo; | 35 class SSLInfo; |
36 class ServerBoundCertService; | 36 class ServerBoundCertService; |
37 class SingleRequestHostResolver; | 37 class SingleRequestHostResolver; |
38 class StreamSocket; | 38 class StreamSocket; |
39 class SocketStreamMetrics; | 39 class SocketStreamMetrics; |
| 40 class TransportSecurityState; |
40 class URLRequestContext; | 41 class URLRequestContext; |
41 | 42 |
42 // SocketStream is used to implement Web Sockets. | 43 // SocketStream is used to implement Web Sockets. |
43 // It provides plain full-duplex stream with proxy and SSL support. | 44 // It provides plain full-duplex stream with proxy and SSL support. |
44 // For proxy authentication, only basic mechanisum is supported. It will try | 45 // For proxy authentication, only basic mechanisum is supported. It will try |
45 // authentication identity for proxy URL first. If server requires proxy | 46 // authentication identity for proxy URL first. If server requires proxy |
46 // authentication, it will try authentication identity for realm that server | 47 // authentication, it will try authentication identity for realm that server |
47 // requests. | 48 // requests. |
48 class NET_EXPORT SocketStream | 49 class NET_EXPORT SocketStream |
49 : public base::RefCountedThreadSafe<SocketStream> { | 50 : public base::RefCountedThreadSafe<SocketStream> { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 bool server_closed_; | 387 bool server_closed_; |
387 | 388 |
388 scoped_ptr<SocketStreamMetrics> metrics_; | 389 scoped_ptr<SocketStreamMetrics> metrics_; |
389 | 390 |
390 DISALLOW_COPY_AND_ASSIGN(SocketStream); | 391 DISALLOW_COPY_AND_ASSIGN(SocketStream); |
391 }; | 392 }; |
392 | 393 |
393 } // namespace net | 394 } // namespace net |
394 | 395 |
395 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 396 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
OLD | NEW |