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 #ifndef IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 5 #ifndef IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
6 #define IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 6 #define IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 std::unique_ptr<net::ProxyService> system_proxy_service; | 121 std::unique_ptr<net::ProxyService> system_proxy_service; |
122 std::unique_ptr<net::HttpNetworkSession> system_http_network_session; | 122 std::unique_ptr<net::HttpNetworkSession> system_http_network_session; |
123 std::unique_ptr<net::HttpTransactionFactory> | 123 std::unique_ptr<net::HttpTransactionFactory> |
124 system_http_transaction_factory; | 124 system_http_transaction_factory; |
125 std::unique_ptr<net::URLRequestJobFactory> system_url_request_job_factory; | 125 std::unique_ptr<net::URLRequestJobFactory> system_url_request_job_factory; |
126 std::unique_ptr<net::URLRequestContext> system_request_context; | 126 std::unique_ptr<net::URLRequestContext> system_request_context; |
127 SystemRequestContextLeakChecker system_request_context_leak_checker; | 127 SystemRequestContextLeakChecker system_request_context_leak_checker; |
128 std::unique_ptr<net::CookieStore> system_cookie_store; | 128 std::unique_ptr<net::CookieStore> system_cookie_store; |
129 std::unique_ptr<net::HttpUserAgentSettings> http_user_agent_settings; | 129 std::unique_ptr<net::HttpUserAgentSettings> http_user_agent_settings; |
130 std::unique_ptr<net::NetworkQualityEstimator> network_quality_estimator; | 130 std::unique_ptr<net::NetworkQualityEstimator> network_quality_estimator; |
| 131 std::unique_ptr<net::CTPolicyEnforcer> ct_policy_enforcer; |
131 }; | 132 }; |
132 | 133 |
133 // |net_log| must either outlive the IOSChromeIOThread or be NULL. | 134 // |net_log| must either outlive the IOSChromeIOThread or be NULL. |
134 IOSChromeIOThread(PrefService* local_state, net_log::ChromeNetLog* net_log); | 135 IOSChromeIOThread(PrefService* local_state, net_log::ChromeNetLog* net_log); |
135 | 136 |
136 ~IOSChromeIOThread() override; | 137 ~IOSChromeIOThread() override; |
137 | 138 |
138 // Can only be called on the IO thread. | 139 // Can only be called on the IO thread. |
139 Globals* globals(); | 140 Globals* globals(); |
140 | 141 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 system_url_request_context_getter_; | 229 system_url_request_context_getter_; |
229 | 230 |
230 const base::TimeTicks creation_time_; | 231 const base::TimeTicks creation_time_; |
231 | 232 |
232 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; | 233 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; |
233 | 234 |
234 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); | 235 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); |
235 }; | 236 }; |
236 | 237 |
237 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 238 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
OLD | NEW |