OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_CONTEXT_GETTER_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_CONTEXT_GETTER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_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/single_thread_task_runner.h" |
13 #include "components/prefs/pref_member.h" | 14 #include "components/prefs/pref_member.h" |
14 #include "content/public/browser/browser_context.h" | 15 #include "content/public/browser/browser_context.h" |
15 #include "content/public/browser/content_browser_client.h" | 16 #include "content/public/browser/content_browser_client.h" |
16 #include "net/url_request/url_request_context_getter.h" | 17 #include "net/url_request/url_request_context_getter.h" |
17 #include "net/url_request/url_request_job_factory.h" | 18 #include "net/url_request/url_request_job_factory.h" |
18 | 19 |
19 class PrefService; | 20 class PrefService; |
20 | 21 |
21 namespace net { | 22 namespace net { |
22 class HostResolver; | 23 class HostResolver; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // SetHandlersAndInterceptors() and the first GetURLRequestContext() call. | 94 // SetHandlersAndInterceptors() and the first GetURLRequestContext() call. |
94 content::ProtocolHandlerMap protocol_handlers_; | 95 content::ProtocolHandlerMap protocol_handlers_; |
95 content::URLRequestInterceptorScopedVector request_interceptors_; | 96 content::URLRequestInterceptorScopedVector request_interceptors_; |
96 | 97 |
97 DISALLOW_COPY_AND_ASSIGN(AwURLRequestContextGetter); | 98 DISALLOW_COPY_AND_ASSIGN(AwURLRequestContextGetter); |
98 }; | 99 }; |
99 | 100 |
100 } // namespace android_webview | 101 } // namespace android_webview |
101 | 102 |
102 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_CONTEXT_GETTER_H_ | 103 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_CONTEXT_GETTER_H_ |
OLD | NEW |