| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ios/web_view/internal/criwv_url_request_context_getter.h" | 5 #include "ios/web_view/internal/criwv_url_request_context_getter.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 14 #include "base/threading/sequenced_worker_pool.h" |
| 14 #import "ios/net/cookies/cookie_store_ios_persistent.h" | 15 #import "ios/net/cookies/cookie_store_ios_persistent.h" |
| 15 #import "ios/web/public/web_client.h" | 16 #import "ios/web/public/web_client.h" |
| 16 #include "ios/web/public/web_thread.h" | 17 #include "ios/web/public/web_thread.h" |
| 17 #include "ios/web_view/internal/criwv_network_delegate.h" | 18 #include "ios/web_view/internal/criwv_network_delegate.h" |
| 18 #include "net/base/cache_type.h" | 19 #include "net/base/cache_type.h" |
| 19 #include "net/cert/cert_verifier.h" | 20 #include "net/cert/cert_verifier.h" |
| 20 #include "net/dns/host_resolver.h" | 21 #include "net/dns/host_resolver.h" |
| 21 #include "net/extras/sqlite/sqlite_persistent_cookie_store.h" | 22 #include "net/extras/sqlite/sqlite_persistent_cookie_store.h" |
| 22 #include "net/http/http_auth_handler_factory.h" | 23 #include "net/http/http_auth_handler_factory.h" |
| 23 #include "net/http/http_cache.h" | 24 #include "net/http/http_cache.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 153 |
| 153 return url_request_context_.get(); | 154 return url_request_context_.get(); |
| 154 } | 155 } |
| 155 | 156 |
| 156 scoped_refptr<base::SingleThreadTaskRunner> | 157 scoped_refptr<base::SingleThreadTaskRunner> |
| 157 CRIWVURLRequestContextGetter::GetNetworkTaskRunner() const { | 158 CRIWVURLRequestContextGetter::GetNetworkTaskRunner() const { |
| 158 return network_task_runner_; | 159 return network_task_runner_; |
| 159 } | 160 } |
| 160 | 161 |
| 161 } // namespace ios_web_view | 162 } // namespace ios_web_view |
| OLD | NEW |