| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromecast/browser/url_request_context_factory.h" | 5 #include "chromecast/browser/url_request_context_factory.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/threading/worker_pool.h" | 10 #include "base/threading/worker_pool.h" |
| 11 #include "chromecast/browser/cast_http_user_agent_settings.h" | 11 #include "chromecast/browser/cast_http_user_agent_settings.h" |
| 12 #include "chromecast/browser/cast_network_delegate.h" | 12 #include "chromecast/browser/cast_network_delegate.h" |
| 13 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 15 #include "content/public/browser/cookie_store_factory.h" | 15 #include "content/public/browser/cookie_store_factory.h" |
| 16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
| 17 #include "content/public/common/url_constants.h" | 17 #include "content/public/common/url_constants.h" |
| 18 #include "net/cert/cert_verifier.h" | 18 #include "net/cert/cert_verifier.h" |
| 19 #include "net/cert_net/nss_ocsp.h" |
| 19 #include "net/cookies/cookie_store.h" | 20 #include "net/cookies/cookie_store.h" |
| 20 #include "net/dns/host_resolver.h" | 21 #include "net/dns/host_resolver.h" |
| 21 #include "net/http/http_auth_handler_factory.h" | 22 #include "net/http/http_auth_handler_factory.h" |
| 22 #include "net/http/http_network_layer.h" | 23 #include "net/http/http_network_layer.h" |
| 23 #include "net/http/http_server_properties_impl.h" | 24 #include "net/http/http_server_properties_impl.h" |
| 24 #include "net/http/http_stream_factory.h" | 25 #include "net/http/http_stream_factory.h" |
| 25 #include "net/ocsp/nss_ocsp.h" | |
| 26 #include "net/proxy/proxy_service.h" | 26 #include "net/proxy/proxy_service.h" |
| 27 #include "net/socket/next_proto.h" | 27 #include "net/socket/next_proto.h" |
| 28 #include "net/ssl/channel_id_service.h" | 28 #include "net/ssl/channel_id_service.h" |
| 29 #include "net/ssl/default_channel_id_store.h" | 29 #include "net/ssl/default_channel_id_store.h" |
| 30 #include "net/ssl/ssl_config_service_defaults.h" | 30 #include "net/ssl/ssl_config_service_defaults.h" |
| 31 #include "net/url_request/data_protocol_handler.h" | 31 #include "net/url_request/data_protocol_handler.h" |
| 32 #include "net/url_request/file_protocol_handler.h" | 32 #include "net/url_request/file_protocol_handler.h" |
| 33 #include "net/url_request/url_request_context.h" | 33 #include "net/url_request/url_request_context.h" |
| 34 #include "net/url_request/url_request_context_getter.h" | 34 #include "net/url_request/url_request_context_getter.h" |
| 35 #include "net/url_request/url_request_intercepting_job_factory.h" | 35 #include "net/url_request/url_request_intercepting_job_factory.h" |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 401 |
| 402 void URLRequestContextFactory::InitializeNetworkDelegates() { | 402 void URLRequestContextFactory::InitializeNetworkDelegates() { |
| 403 app_network_delegate_->Initialize(false); | 403 app_network_delegate_->Initialize(false); |
| 404 LOG(INFO) << "Initialized app network delegate."; | 404 LOG(INFO) << "Initialized app network delegate."; |
| 405 system_network_delegate_->Initialize(false); | 405 system_network_delegate_->Initialize(false); |
| 406 LOG(INFO) << "Initialized system network delegate."; | 406 LOG(INFO) << "Initialized system network delegate."; |
| 407 } | 407 } |
| 408 | 408 |
| 409 } // namespace shell | 409 } // namespace shell |
| 410 } // namespace chromecast | 410 } // namespace chromecast |
| OLD | NEW |