OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // TODO(ukai): code is similar with http_network_transaction.cc. We should | 5 // TODO(ukai): code is similar with http_network_transaction.cc. We should |
6 // think about ways to share code, if possible. | 6 // think about ways to share code, if possible. |
7 | 7 |
8 #include "net/socket_stream/socket_stream.h" | 8 #include "net/socket_stream/socket_stream.h" |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
| 17 #include "base/utf_string_conversions.h" |
17 #include "net/base/auth.h" | 18 #include "net/base/auth.h" |
18 #include "net/base/host_resolver.h" | 19 #include "net/base/host_resolver.h" |
19 #include "net/base/io_buffer.h" | 20 #include "net/base/io_buffer.h" |
20 #include "net/base/net_errors.h" | 21 #include "net/base/net_errors.h" |
21 #include "net/base/net_util.h" | 22 #include "net/base/net_util.h" |
22 #include "net/http/http_auth_handler_factory.h" | 23 #include "net/http/http_auth_handler_factory.h" |
23 #include "net/http/http_request_info.h" | 24 #include "net/http/http_request_info.h" |
24 #include "net/http/http_response_headers.h" | 25 #include "net/http/http_response_headers.h" |
25 #include "net/http/http_util.h" | 26 #include "net/http/http_util.h" |
26 #include "net/socket/client_socket_factory.h" | 27 #include "net/socket/client_socket_factory.h" |
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 | 986 |
986 SSLConfigService* SocketStream::ssl_config_service() const { | 987 SSLConfigService* SocketStream::ssl_config_service() const { |
987 return context_->ssl_config_service(); | 988 return context_->ssl_config_service(); |
988 } | 989 } |
989 | 990 |
990 ProxyService* SocketStream::proxy_service() const { | 991 ProxyService* SocketStream::proxy_service() const { |
991 return context_->proxy_service(); | 992 return context_->proxy_service(); |
992 } | 993 } |
993 | 994 |
994 } // namespace net | 995 } // namespace net |
OLD | NEW |