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 #include "android_webview/browser/net/aw_url_request_context_getter.h" | 5 #include "android_webview/browser/net/aw_url_request_context_getter.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "android_webview/browser/aw_browser_context.h" | 9 #include "android_webview/browser/aw_browser_context.h" |
10 #include "android_webview/browser/aw_content_browser_client.h" | 10 #include "android_webview/browser/aw_content_browser_client.h" |
11 #include "android_webview/browser/aw_request_interceptor.h" | 11 #include "android_webview/browser/aw_request_interceptor.h" |
12 #include "android_webview/browser/net/aw_network_delegate.h" | 12 #include "android_webview/browser/net/aw_network_delegate.h" |
13 #include "android_webview/browser/net/aw_url_request_job_factory.h" | 13 #include "android_webview/browser/net/aw_url_request_job_factory.h" |
14 #include "android_webview/browser/net/init_native_callback.h" | 14 #include "android_webview/browser/net/init_native_callback.h" |
15 #include "android_webview/common/aw_content_client.h" | 15 #include "android_webview/common/aw_content_client.h" |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
19 #include "base/threading/sequenced_worker_pool.h" | 19 #include "base/threading/sequenced_worker_pool.h" |
20 #include "base/threading/worker_pool.h" | 20 #include "base/threading/worker_pool.h" |
21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth
_request_handler.h" | 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth
_request_handler.h" |
22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator.h" | 22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator.h" |
23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte
rceptor.h" | 23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte
rceptor.h" |
24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" | 24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" |
25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prot
ocol.h" | |
26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
27 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
28 #include "content/public/browser/content_browser_client.h" | 27 #include "content/public/browser/content_browser_client.h" |
29 #include "content/public/browser/cookie_store_factory.h" | 28 #include "content/public/browser/cookie_store_factory.h" |
30 #include "content/public/common/content_client.h" | 29 #include "content/public/common/content_client.h" |
31 #include "content/public/common/content_switches.h" | 30 #include "content/public/common/content_switches.h" |
32 #include "content/public/common/url_constants.h" | 31 #include "content/public/common/url_constants.h" |
33 #include "net/base/cache_type.h" | 32 #include "net/base/cache_type.h" |
34 #include "net/base/net_log.h" | 33 #include "net/base/net_log.h" |
35 #include "net/cookies/cookie_store.h" | 34 #include "net/cookies/cookie_store.h" |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 net::NetLog* AwURLRequestContextGetter::GetNetLog() { | 304 net::NetLog* AwURLRequestContextGetter::GetNetLog() { |
306 return net_log_.get(); | 305 return net_log_.get(); |
307 } | 306 } |
308 | 307 |
309 void AwURLRequestContextGetter::SetKeyOnIO(const std::string& key) { | 308 void AwURLRequestContextGetter::SetKeyOnIO(const std::string& key) { |
310 DCHECK(data_reduction_proxy_auth_request_handler_); | 309 DCHECK(data_reduction_proxy_auth_request_handler_); |
311 data_reduction_proxy_auth_request_handler_->InitAuthentication(key); | 310 data_reduction_proxy_auth_request_handler_->InitAuthentication(key); |
312 } | 311 } |
313 | 312 |
314 } // namespace android_webview | 313 } // namespace android_webview |
OLD | NEW |