OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/cronet/ios/cronet_environment.h" | 5 #include "components/cronet/ios/cronet_environment.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
10 #include "base/atomicops.h" | 10 #include "base/atomicops.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "net/cert/multi_log_ct_verifier.h" | 36 #include "net/cert/multi_log_ct_verifier.h" |
37 #include "net/dns/host_resolver.h" | 37 #include "net/dns/host_resolver.h" |
38 #include "net/dns/mapped_host_resolver.h" | 38 #include "net/dns/mapped_host_resolver.h" |
39 #include "net/http/http_auth_handler_factory.h" | 39 #include "net/http/http_auth_handler_factory.h" |
40 #include "net/http/http_cache.h" | 40 #include "net/http/http_cache.h" |
41 #include "net/http/http_response_headers.h" | 41 #include "net/http/http_response_headers.h" |
42 #include "net/http/http_server_properties_impl.h" | 42 #include "net/http/http_server_properties_impl.h" |
43 #include "net/http/http_stream_factory.h" | 43 #include "net/http/http_stream_factory.h" |
44 #include "net/http/http_util.h" | 44 #include "net/http/http_util.h" |
45 #include "net/log/net_log.h" | 45 #include "net/log/net_log.h" |
| 46 #include "net/log/net_log_capture_mode.h" |
46 #include "net/log/write_to_file_net_log_observer.h" | 47 #include "net/log/write_to_file_net_log_observer.h" |
47 #include "net/proxy/proxy_service.h" | 48 #include "net/proxy/proxy_service.h" |
48 #include "net/socket/ssl_client_socket.h" | 49 #include "net/socket/ssl_client_socket.h" |
49 #include "net/ssl/channel_id_service.h" | 50 #include "net/ssl/channel_id_service.h" |
50 #include "net/ssl/default_channel_id_store.h" | 51 #include "net/ssl/default_channel_id_store.h" |
51 #include "net/ssl/ssl_config_service_defaults.h" | 52 #include "net/ssl/ssl_config_service_defaults.h" |
52 #include "net/url_request/static_http_user_agent_settings.h" | 53 #include "net/url_request/static_http_user_agent_settings.h" |
53 #include "net/url_request/url_request_context_storage.h" | 54 #include "net/url_request/url_request_context_storage.h" |
54 #include "net/url_request/url_request_job_factory_impl.h" | 55 #include "net/url_request/url_request_job_factory_impl.h" |
55 #include "url/scheme_host_port.h" | 56 #include "url/scheme_host_port.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 const net::HttpUserAgentSettings* user_agent_settings = | 353 const net::HttpUserAgentSettings* user_agent_settings = |
353 main_context_->http_user_agent_settings(); | 354 main_context_->http_user_agent_settings(); |
354 if (!user_agent_settings) { | 355 if (!user_agent_settings) { |
355 return nullptr; | 356 return nullptr; |
356 } | 357 } |
357 | 358 |
358 return user_agent_settings->GetUserAgent(); | 359 return user_agent_settings->GetUserAgent(); |
359 } | 360 } |
360 | 361 |
361 } // namespace cronet | 362 } // namespace cronet |
OLD | NEW |