| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
| 13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
| 14 #include "base/task_scheduler/post_task.h" | 14 #include "base/task_scheduler/post_task.h" |
| 15 #include "chromecast/base/chromecast_switches.h" | 15 #include "chromecast/base/chromecast_switches.h" |
| 16 #include "chromecast/browser/cast_browser_process.h" | 16 #include "chromecast/browser/cast_browser_process.h" |
| 17 #include "chromecast/browser/cast_http_user_agent_settings.h" | 17 #include "chromecast/browser/cast_http_user_agent_settings.h" |
| 18 #include "chromecast/browser/cast_network_delegate.h" | 18 #include "chromecast/browser/cast_network_delegate.h" |
| 19 #include "components/network_session_configurator/common/network_switches.h" |
| 19 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 20 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
| 20 #include "content/public/browser/browser_context.h" | 21 #include "content/public/browser/browser_context.h" |
| 21 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
| 22 #include "content/public/browser/cookie_store_factory.h" | 23 #include "content/public/browser/cookie_store_factory.h" |
| 23 #include "content/public/common/content_switches.h" | |
| 24 #include "content/public/common/url_constants.h" | 24 #include "content/public/common/url_constants.h" |
| 25 #include "net/cert/cert_verifier.h" | 25 #include "net/cert/cert_verifier.h" |
| 26 #include "net/cert/ct_policy_enforcer.h" | 26 #include "net/cert/ct_policy_enforcer.h" |
| 27 #include "net/cert/ct_policy_status.h" | 27 #include "net/cert/ct_policy_status.h" |
| 28 #include "net/cert/do_nothing_ct_verifier.h" | 28 #include "net/cert/do_nothing_ct_verifier.h" |
| 29 #include "net/cert_net/nss_ocsp.h" | 29 #include "net/cert_net/nss_ocsp.h" |
| 30 #include "net/cookies/cookie_store.h" | 30 #include "net/cookies/cookie_store.h" |
| 31 #include "net/dns/host_resolver.h" | 31 #include "net/dns/host_resolver.h" |
| 32 #include "net/http/http_auth_handler_factory.h" | 32 #include "net/http/http_auth_handler_factory.h" |
| 33 #include "net/http/http_network_layer.h" | 33 #include "net/http/http_network_layer.h" |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 if (media_getter_) { | 478 if (media_getter_) { |
| 479 media_getter_->GetURLRequestContext() | 479 media_getter_->GetURLRequestContext() |
| 480 ->http_transaction_factory() | 480 ->http_transaction_factory() |
| 481 ->GetSession() | 481 ->GetSession() |
| 482 ->DisableQuic(); | 482 ->DisableQuic(); |
| 483 } | 483 } |
| 484 } | 484 } |
| 485 | 485 |
| 486 } // namespace shell | 486 } // namespace shell |
| 487 } // namespace chromecast | 487 } // namespace chromecast |
| OLD | NEW |