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/browser_state/chrome_browser_state_io_data.h" | 5 #include "ios/chrome/browser/browser_state/chrome_browser_state_io_data.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 37 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
38 #include "ios/chrome/browser/chrome_url_constants.h" | 38 #include "ios/chrome/browser/chrome_url_constants.h" |
39 #include "ios/chrome/browser/content_settings/cookie_settings_factory.h" | 39 #include "ios/chrome/browser/content_settings/cookie_settings_factory.h" |
40 #include "ios/chrome/browser/content_settings/host_content_settings_map_factory.
h" | 40 #include "ios/chrome/browser/content_settings/host_content_settings_map_factory.
h" |
41 #include "ios/chrome/browser/ios_chrome_io_thread.h" | 41 #include "ios/chrome/browser/ios_chrome_io_thread.h" |
42 #include "ios/chrome/browser/net/ios_chrome_http_user_agent_settings.h" | 42 #include "ios/chrome/browser/net/ios_chrome_http_user_agent_settings.h" |
43 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" | 43 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" |
44 #include "ios/chrome/browser/net/ios_chrome_url_request_context_getter.h" | 44 #include "ios/chrome/browser/net/ios_chrome_url_request_context_getter.h" |
45 #include "ios/chrome/browser/net/proxy_service_factory.h" | 45 #include "ios/chrome/browser/net/proxy_service_factory.h" |
46 #include "ios/web/public/web_thread.h" | 46 #include "ios/web/public/web_thread.h" |
47 #include "net/base/keygen_handler.h" | |
48 #include "net/cert/cert_verifier.h" | 47 #include "net/cert/cert_verifier.h" |
49 #include "net/cert/multi_log_ct_verifier.h" | 48 #include "net/cert/multi_log_ct_verifier.h" |
50 #include "net/cookies/canonical_cookie.h" | 49 #include "net/cookies/canonical_cookie.h" |
51 #include "net/http/http_network_session.h" | 50 #include "net/http/http_network_session.h" |
52 #include "net/http/http_transaction_factory.h" | 51 #include "net/http/http_transaction_factory.h" |
53 #include "net/http/http_util.h" | 52 #include "net/http/http_util.h" |
54 #include "net/http/transport_security_persister.h" | 53 #include "net/http/transport_security_persister.h" |
55 #include "net/nqe/network_quality_estimator.h" | 54 #include "net/nqe/network_quality_estimator.h" |
56 #include "net/proxy/proxy_config_service_fixed.h" | 55 #include "net/proxy/proxy_config_service_fixed.h" |
57 #include "net/proxy/proxy_script_fetcher_impl.h" | 56 #include "net/proxy/proxy_script_fetcher_impl.h" |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 return std::unique_ptr<net::HttpCache>( | 483 return std::unique_ptr<net::HttpCache>( |
485 new net::HttpCache(session, std::move(main_backend), true)); | 484 new net::HttpCache(session, std::move(main_backend), true)); |
486 } | 485 } |
487 | 486 |
488 std::unique_ptr<net::HttpCache> ChromeBrowserStateIOData::CreateHttpFactory( | 487 std::unique_ptr<net::HttpCache> ChromeBrowserStateIOData::CreateHttpFactory( |
489 net::HttpNetworkSession* shared_session, | 488 net::HttpNetworkSession* shared_session, |
490 std::unique_ptr<net::HttpCache::BackendFactory> backend) const { | 489 std::unique_ptr<net::HttpCache::BackendFactory> backend) const { |
491 return std::unique_ptr<net::HttpCache>( | 490 return std::unique_ptr<net::HttpCache>( |
492 new net::HttpCache(shared_session, std::move(backend), true)); | 491 new net::HttpCache(shared_session, std::move(backend), true)); |
493 } | 492 } |
OLD | NEW |