| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/browser/shell_url_request_context_getter.h" | 5 #include "content/shell/browser/shell_url_request_context_getter.h" | 
| 6 | 6 | 
| 7 #include <memory> | 7 #include <memory> | 
| 8 #include <utility> | 8 #include <utility> | 
| 9 | 9 | 
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" | 
| 11 #include "base/logging.h" | 11 #include "base/logging.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/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" | 
| 15 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" | 
| 16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" | 
| 17 #include "base/task_scheduler/post_task.h" | 17 #include "base/task_scheduler/post_task.h" | 
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" | 
|  | 19 #include "components/network_session_configurator/common/network_switches.h" | 
| 19 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" | 
| 20 #include "content/public/browser/cookie_store_factory.h" | 21 #include "content/public/browser/cookie_store_factory.h" | 
| 21 #include "content/public/common/content_switches.h" | 22 #include "content/public/common/content_switches.h" | 
| 22 #include "content/shell/browser/shell_network_delegate.h" | 23 #include "content/shell/browser/shell_network_delegate.h" | 
| 23 #include "content/shell/common/shell_content_client.h" | 24 #include "content/shell/common/shell_content_client.h" | 
| 24 #include "content/shell/common/shell_switches.h" | 25 #include "content/shell/common/shell_switches.h" | 
| 25 #include "net/base/cache_type.h" | 26 #include "net/base/cache_type.h" | 
| 26 #include "net/cert/cert_verifier.h" | 27 #include "net/cert/cert_verifier.h" | 
| 27 #include "net/cert/ct_policy_enforcer.h" | 28 #include "net/cert/ct_policy_enforcer.h" | 
| 28 #include "net/cert/ct_policy_status.h" | 29 #include "net/cert/ct_policy_status.h" | 
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 284 scoped_refptr<base::SingleThreadTaskRunner> | 285 scoped_refptr<base::SingleThreadTaskRunner> | 
| 285     ShellURLRequestContextGetter::GetNetworkTaskRunner() const { | 286     ShellURLRequestContextGetter::GetNetworkTaskRunner() const { | 
| 286   return BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); | 287   return BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); | 
| 287 } | 288 } | 
| 288 | 289 | 
| 289 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { | 290 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { | 
| 290   return url_request_context_->host_resolver(); | 291   return url_request_context_->host_resolver(); | 
| 291 } | 292 } | 
| 292 | 293 | 
| 293 }  // namespace content | 294 }  // namespace content | 
| OLD | NEW | 
|---|