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 #include "chrome/service/net/service_url_request_context.h" | 5 #include "chrome/service/net/service_url_request_context.h" |
6 | 6 |
7 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 7 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
8 #include <sys/utsname.h> | 8 #include <sys/utsname.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
15 #include "chrome/common/chrome_version_info.h" | 15 #include "chrome/common/chrome_version_info.h" |
16 #include "chrome/service/service_process.h" | 16 #include "chrome/service/service_process.h" |
17 #include "net/base/cert_verifier.h" | 17 #include "net/base/cert_verifier.h" |
18 #include "net/base/host_resolver.h" | |
19 #include "net/cookies/cookie_monster.h" | 18 #include "net/cookies/cookie_monster.h" |
| 19 #include "net/dns/host_resolver.h" |
20 #include "net/ftp/ftp_network_layer.h" | 20 #include "net/ftp/ftp_network_layer.h" |
21 #include "net/http/http_auth_handler_factory.h" | 21 #include "net/http/http_auth_handler_factory.h" |
22 #include "net/http/http_cache.h" | 22 #include "net/http/http_cache.h" |
23 #include "net/http/http_network_session.h" | 23 #include "net/http/http_network_session.h" |
24 #include "net/http/http_server_properties_impl.h" | 24 #include "net/http/http_server_properties_impl.h" |
25 #include "net/proxy/proxy_config_service.h" | 25 #include "net/proxy/proxy_config_service.h" |
26 #include "net/proxy/proxy_service.h" | 26 #include "net/proxy/proxy_service.h" |
27 #include "net/ssl/ssl_config_service_defaults.h" | 27 #include "net/ssl/ssl_config_service_defaults.h" |
28 #include "net/url_request/static_http_user_agent_settings.h" | 28 #include "net/url_request/static_http_user_agent_settings.h" |
29 #include "net/url_request/url_request_throttler_manager.h" | 29 #include "net/url_request/url_request_throttler_manager.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 proxy_config_service_.release())); | 168 proxy_config_service_.release())); |
169 return url_request_context_.get(); | 169 return url_request_context_.get(); |
170 } | 170 } |
171 | 171 |
172 scoped_refptr<base::SingleThreadTaskRunner> | 172 scoped_refptr<base::SingleThreadTaskRunner> |
173 ServiceURLRequestContextGetter::GetNetworkTaskRunner() const { | 173 ServiceURLRequestContextGetter::GetNetworkTaskRunner() const { |
174 return network_task_runner_; | 174 return network_task_runner_; |
175 } | 175 } |
176 | 176 |
177 ServiceURLRequestContextGetter::~ServiceURLRequestContextGetter() {} | 177 ServiceURLRequestContextGetter::~ServiceURLRequestContextGetter() {} |
OLD | NEW |