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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
15 #include "base/threading/worker_pool.h" | 15 #include "base/threading/worker_pool.h" |
| 16 #include "build/build_config.h" |
16 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
17 #include "content/public/browser/cookie_store_factory.h" | 18 #include "content/public/browser/cookie_store_factory.h" |
18 #include "content/public/common/content_switches.h" | 19 #include "content/public/common/content_switches.h" |
19 #include "content/shell/browser/shell_network_delegate.h" | 20 #include "content/shell/browser/shell_network_delegate.h" |
20 #include "content/shell/common/shell_content_client.h" | 21 #include "content/shell/common/shell_content_client.h" |
21 #include "content/shell/common/shell_switches.h" | 22 #include "content/shell/common/shell_switches.h" |
22 #include "net/base/cache_type.h" | 23 #include "net/base/cache_type.h" |
23 #include "net/cert/cert_verifier.h" | 24 #include "net/cert/cert_verifier.h" |
24 #include "net/cookies/cookie_monster.h" | 25 #include "net/cookies/cookie_monster.h" |
25 #include "net/dns/host_resolver.h" | 26 #include "net/dns/host_resolver.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 scoped_refptr<base::SingleThreadTaskRunner> | 247 scoped_refptr<base::SingleThreadTaskRunner> |
247 ShellURLRequestContextGetter::GetNetworkTaskRunner() const { | 248 ShellURLRequestContextGetter::GetNetworkTaskRunner() const { |
248 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); | 249 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
249 } | 250 } |
250 | 251 |
251 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { | 252 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { |
252 return url_request_context_->host_resolver(); | 253 return url_request_context_->host_resolver(); |
253 } | 254 } |
254 | 255 |
255 } // namespace content | 256 } // namespace content |
OLD | NEW |