| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/chrome/browser/ios_chrome_io_thread.h" | 5 #include "ios/chrome/browser/ios_chrome_io_thread.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "base/stl_util.h" | 22 #include "base/stl_util.h" |
| 23 #include "base/strings/string_number_conversions.h" | 23 #include "base/strings/string_number_conversions.h" |
| 24 #include "base/strings/string_piece.h" | 24 #include "base/strings/string_piece.h" |
| 25 #include "base/strings/string_split.h" | 25 #include "base/strings/string_split.h" |
| 26 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
| 27 #include "base/threading/sequenced_worker_pool.h" | 27 #include "base/threading/sequenced_worker_pool.h" |
| 28 #include "base/threading/thread.h" | 28 #include "base/threading/thread.h" |
| 29 #include "base/threading/worker_pool.h" | 29 #include "base/threading/worker_pool.h" |
| 30 #include "base/time/time.h" | 30 #include "base/time/time.h" |
| 31 #include "base/trace_event/trace_event.h" | 31 #include "base/trace_event/trace_event.h" |
| 32 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | |
| 33 #include "components/net_log/chrome_net_log.h" | 32 #include "components/net_log/chrome_net_log.h" |
| 34 #include "components/prefs/pref_service.h" | 33 #include "components/prefs/pref_service.h" |
| 35 #include "components/proxy_config/pref_proxy_config_tracker.h" | 34 #include "components/proxy_config/pref_proxy_config_tracker.h" |
| 36 #include "components/variations/variations_associated_data.h" | 35 #include "components/variations/variations_associated_data.h" |
| 37 #include "components/version_info/version_info.h" | 36 #include "components/version_info/version_info.h" |
| 38 #include "ios/chrome/browser/chrome_switches.h" | 37 #include "ios/chrome/browser/chrome_switches.h" |
| 39 #include "ios/chrome/browser/net/cookie_util.h" | 38 #include "ios/chrome/browser/net/cookie_util.h" |
| 40 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" | 39 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" |
| 41 #include "ios/chrome/browser/net/proxy_service_factory.h" | 40 #include "ios/chrome/browser/net/proxy_service_factory.h" |
| 42 #include "ios/chrome/common/channel_info.h" | 41 #include "ios/chrome/common/channel_info.h" |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 | 1017 |
| 1019 globals->system_http_network_session.reset( | 1018 globals->system_http_network_session.reset( |
| 1020 new net::HttpNetworkSession(system_params)); | 1019 new net::HttpNetworkSession(system_params)); |
| 1021 globals->system_http_transaction_factory.reset( | 1020 globals->system_http_transaction_factory.reset( |
| 1022 new net::HttpNetworkLayer(globals->system_http_network_session.get())); | 1021 new net::HttpNetworkLayer(globals->system_http_network_session.get())); |
| 1023 context->set_http_transaction_factory( | 1022 context->set_http_transaction_factory( |
| 1024 globals->system_http_transaction_factory.get()); | 1023 globals->system_http_transaction_factory.get()); |
| 1025 | 1024 |
| 1026 return context; | 1025 return context; |
| 1027 } | 1026 } |
| OLD | NEW |