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 #ifndef CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "content/public/browser/browser_context.h" | 15 #include "content/public/browser/browser_context.h" |
16 #include "net/proxy/proxy_config_service.h" | 16 #include "net/proxy/proxy_config_service.h" |
17 #include "net/url_request/url_request_context_getter.h" | 17 #include "net/url_request/url_request_context_getter.h" |
18 #include "net/url_request/url_request_job_factory.h" | 18 #include "net/url_request/url_request_job_factory.h" |
19 | 19 |
20 namespace base { | |
21 class MessageLoop; | |
22 } | |
23 | |
24 namespace net { | 20 namespace net { |
25 class HostResolver; | 21 class HostResolver; |
26 class MappedHostResolver; | |
27 class NetworkDelegate; | 22 class NetworkDelegate; |
28 class NetLog; | 23 class NetLog; |
29 class ProxyConfigService; | 24 class ProxyConfigService; |
30 class ProxyService; | 25 class ProxyService; |
31 class URLRequestContextStorage; | 26 class URLRequestContextStorage; |
32 } | 27 } |
33 | 28 |
34 namespace content { | 29 namespace content { |
35 | 30 |
36 class ShellURLRequestContextGetter : public net::URLRequestContextGetter { | 31 class ShellURLRequestContextGetter : public net::URLRequestContextGetter { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 std::unique_ptr<net::URLRequestContext> url_request_context_; | 68 std::unique_ptr<net::URLRequestContext> url_request_context_; |
74 ProtocolHandlerMap protocol_handlers_; | 69 ProtocolHandlerMap protocol_handlers_; |
75 URLRequestInterceptorScopedVector request_interceptors_; | 70 URLRequestInterceptorScopedVector request_interceptors_; |
76 | 71 |
77 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); | 72 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); |
78 }; | 73 }; |
79 | 74 |
80 } // namespace content | 75 } // namespace content |
81 | 76 |
82 #endif // CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 77 #endif // CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
OLD | NEW |