Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: content/shell/shell_url_request_context_getter.cc

Issue 8340028: Salient parts of http://codereview.chromium.org/8392042/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/shell/shell_download_manager_delegate.cc ('k') | content/test/test_browser_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/logging.h" 7 #include "base/logging.h"
8 #include "base/string_split.h" 8 #include "base/string_split.h"
9 #include "content/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "net/base/cert_verifier.h" 10 #include "net/base/cert_verifier.h"
11 #include "net/base/cookie_monster.h" 11 #include "net/base/cookie_monster.h"
12 #include "net/base/default_origin_bound_cert_store.h" 12 #include "net/base/default_origin_bound_cert_store.h"
13 #include "net/base/dnsrr_resolver.h" 13 #include "net/base/dnsrr_resolver.h"
14 #include "net/base/host_resolver.h" 14 #include "net/base/host_resolver.h"
15 #include "net/http/http_auth_handler_factory.h"
16 #include "net/http/http_server_properties_impl.h"
17 #include "net/http/http_cache.h"
18 #include "net/base/origin_bound_cert_service.h" 15 #include "net/base/origin_bound_cert_service.h"
19 #include "net/base/ssl_config_service_defaults.h" 16 #include "net/base/ssl_config_service_defaults.h"
17 #include "net/http/http_auth_handler_factory.h"
18 #include "net/http/http_cache.h"
19 #include "net/http/http_server_properties_impl.h"
20 #include "net/proxy/proxy_service.h" 20 #include "net/proxy/proxy_service.h"
21 #include "net/url_request/url_request_context.h" 21 #include "net/url_request/url_request_context.h"
22 #include "net/url_request/url_request_context_storage.h" 22 #include "net/url_request/url_request_context_storage.h"
23 #include "net/url_request/url_request_job_factory.h" 23 #include "net/url_request/url_request_job_factory.h"
24 24
25 namespace content { 25 namespace content {
26 26
27 ShellURLRequestContextGetter::ShellURLRequestContextGetter( 27 ShellURLRequestContextGetter::ShellURLRequestContextGetter(
28 const FilePath& base_path_, 28 const FilePath& base_path_,
29 MessageLoop* io_loop, 29 MessageLoop* io_loop,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 scoped_refptr<base::MessageLoopProxy> 110 scoped_refptr<base::MessageLoopProxy>
111 ShellURLRequestContextGetter::GetIOMessageLoopProxy() const { 111 ShellURLRequestContextGetter::GetIOMessageLoopProxy() const {
112 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); 112 return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
113 } 113 }
114 114
115 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { 115 net::HostResolver* ShellURLRequestContextGetter::host_resolver() {
116 return url_request_context_->host_resolver(); 116 return url_request_context_->host_resolver();
117 } 117 }
118 118
119 } // namespace content 119 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_download_manager_delegate.cc ('k') | content/test/test_browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698