| 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 "content/shell/shell_url_request_context_getter.h" | 5 #include "content/shell/shell_url_request_context_getter.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 12 #include "base/threading/worker_pool.h" | 12 #include "base/threading/worker_pool.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "content/public/common/content_switches.h" | 14 #include "content/public/common/content_switches.h" |
| 15 #include "content/public/common/url_constants.h" | 15 #include "content/public/common/url_constants.h" |
| 16 #include "content/shell/shell_network_delegate.h" | 16 #include "content/shell/shell_network_delegate.h" |
| 17 #include "content/shell/shell_switches.h" | 17 #include "content/shell/shell_switches.h" |
| 18 #include "net/base/cert_verifier.h" | 18 #include "net/base/cert_verifier.h" |
| 19 #include "net/base/default_server_bound_cert_store.h" | |
| 20 #include "net/base/host_resolver.h" | 19 #include "net/base/host_resolver.h" |
| 21 #include "net/base/mapped_host_resolver.h" | 20 #include "net/base/mapped_host_resolver.h" |
| 22 #include "net/base/server_bound_cert_service.h" | |
| 23 #include "net/base/ssl_config_service_defaults.h" | |
| 24 #include "net/cookies/cookie_monster.h" | 21 #include "net/cookies/cookie_monster.h" |
| 25 #include "net/http/http_auth_handler_factory.h" | 22 #include "net/http/http_auth_handler_factory.h" |
| 26 #include "net/http/http_cache.h" | 23 #include "net/http/http_cache.h" |
| 27 #include "net/http/http_network_session.h" | 24 #include "net/http/http_network_session.h" |
| 28 #include "net/http/http_server_properties_impl.h" | 25 #include "net/http/http_server_properties_impl.h" |
| 29 #include "net/proxy/proxy_service.h" | 26 #include "net/proxy/proxy_service.h" |
| 27 #include "net/ssl/default_server_bound_cert_store.h" |
| 28 #include "net/ssl/server_bound_cert_service.h" |
| 29 #include "net/ssl/ssl_config_service_defaults.h" |
| 30 #include "net/url_request/protocol_intercept_job_factory.h" | 30 #include "net/url_request/protocol_intercept_job_factory.h" |
| 31 #include "net/url_request/static_http_user_agent_settings.h" | 31 #include "net/url_request/static_http_user_agent_settings.h" |
| 32 #include "net/url_request/url_request_context.h" | 32 #include "net/url_request/url_request_context.h" |
| 33 #include "net/url_request/url_request_context_storage.h" | 33 #include "net/url_request/url_request_context_storage.h" |
| 34 #include "net/url_request/url_request_job_factory_impl.h" | 34 #include "net/url_request/url_request_job_factory_impl.h" |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 | 37 |
| 38 namespace { | 38 namespace { |
| 39 | 39 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 scoped_refptr<base::SingleThreadTaskRunner> | 187 scoped_refptr<base::SingleThreadTaskRunner> |
| 188 ShellURLRequestContextGetter::GetNetworkTaskRunner() const { | 188 ShellURLRequestContextGetter::GetNetworkTaskRunner() const { |
| 189 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); | 189 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
| 190 } | 190 } |
| 191 | 191 |
| 192 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { | 192 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { |
| 193 return url_request_context_->host_resolver(); | 193 return url_request_context_->host_resolver(); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace content | 196 } // namespace content |
| OLD | NEW |