OLD | NEW |
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 "webkit/tools/test_shell/test_shell_request_context.h" | 5 #include "webkit/tools/test_shell/test_shell_request_context.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "net/base/cert_verifier.h" | 11 #include "net/base/cert_verifier.h" |
12 #include "net/base/cookie_monster.h" | 12 #include "net/base/cookie_monster.h" |
13 #include "net/base/default_origin_bound_cert_store.h" | 13 #include "net/base/default_origin_bound_cert_store.h" |
14 #include "net/base/host_resolver.h" | 14 #include "net/base/host_resolver.h" |
15 #include "net/base/origin_bound_cert_service.h" | 15 #include "net/base/origin_bound_cert_service.h" |
16 #include "net/base/ssl_config_service_defaults.h" | 16 #include "net/base/ssl_config_service_defaults.h" |
17 #include "net/ftp/ftp_network_layer.h" | 17 #include "net/ftp/ftp_network_layer.h" |
18 #include "net/http/http_auth_handler_factory.h" | 18 #include "net/http/http_auth_handler_factory.h" |
19 #include "net/http/http_server_properties_impl.h" | 19 #include "net/http/http_server_properties_impl.h" |
20 #include "net/proxy/proxy_config_service.h" | 20 #include "net/proxy/proxy_config_service.h" |
21 #include "net/proxy/proxy_config_service_fixed.h" | 21 #include "net/proxy/proxy_config_service_fixed.h" |
22 #include "net/proxy/proxy_service.h" | 22 #include "net/proxy/proxy_service.h" |
23 #include "net/url_request/url_request_job_factory.h" | 23 #include "net/url_request/url_request_job_factory.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitPlatformSupport
.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatfo
rmSupport.h" |
26 #include "webkit/blob/blob_storage_controller.h" | 26 #include "webkit/blob/blob_storage_controller.h" |
27 #include "webkit/blob/blob_url_request_job_factory.h" | 27 #include "webkit/blob/blob_url_request_job_factory.h" |
28 #include "webkit/fileapi/file_system_context.h" | 28 #include "webkit/fileapi/file_system_context.h" |
29 #include "webkit/fileapi/file_system_url_request_job_factory.h" | 29 #include "webkit/fileapi/file_system_url_request_job_factory.h" |
30 #include "webkit/glue/webkit_glue.h" | 30 #include "webkit/glue/webkit_glue.h" |
31 #include "webkit/tools/test_shell/simple_file_system.h" | 31 #include "webkit/tools/test_shell/simple_file_system.h" |
32 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 32 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
33 | 33 |
34 TestShellRequestContext::TestShellRequestContext() | 34 TestShellRequestContext::TestShellRequestContext() |
35 : ALLOW_THIS_IN_INITIALIZER_LIST(storage_(this)) { | 35 : ALLOW_THIS_IN_INITIALIZER_LIST(storage_(this)) { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 storage_.set_job_factory(job_factory); | 124 storage_.set_job_factory(job_factory); |
125 } | 125 } |
126 | 126 |
127 TestShellRequestContext::~TestShellRequestContext() { | 127 TestShellRequestContext::~TestShellRequestContext() { |
128 } | 128 } |
129 | 129 |
130 const std::string& TestShellRequestContext::GetUserAgent( | 130 const std::string& TestShellRequestContext::GetUserAgent( |
131 const GURL& url) const { | 131 const GURL& url) const { |
132 return webkit_glue::GetUserAgent(url); | 132 return webkit_glue::GetUserAgent(url); |
133 } | 133 } |
OLD | NEW |