OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 base::FilePath channel_id_path; | 149 base::FilePath channel_id_path; |
150 base::FilePath cache_path; | 150 base::FilePath cache_path; |
151 int cache_max_size; | 151 int cache_max_size; |
152 base::FilePath media_cache_path; | 152 base::FilePath media_cache_path; |
153 int media_cache_max_size; | 153 int media_cache_max_size; |
154 base::FilePath extensions_cookie_path; | 154 base::FilePath extensions_cookie_path; |
155 content::CookieStoreConfig::SessionCookieMode session_cookie_mode; | 155 content::CookieStoreConfig::SessionCookieMode session_cookie_mode; |
156 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; | 156 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; |
157 std::unique_ptr<net::HttpServerPropertiesManager> | 157 std::unique_ptr<net::HttpServerPropertiesManager> |
158 http_server_properties_manager; | 158 http_server_properties_manager; |
| 159 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> |
| 160 domain_reliability_monitor; |
159 }; | 161 }; |
160 | 162 |
161 ProfileImplIOData(); | 163 ProfileImplIOData(); |
162 ~ProfileImplIOData() override; | 164 ~ProfileImplIOData() override; |
163 | 165 |
164 void InitializeInternal( | 166 void InitializeInternal( |
165 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate, | 167 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate, |
166 ProfileParams* profile_params, | 168 ProfileParams* profile_params, |
167 content::ProtocolHandlerMap* protocol_handlers, | 169 content::ProtocolHandlerMap* protocol_handlers, |
168 content::URLRequestInterceptorScopedVector request_interceptors) | 170 content::URLRequestInterceptorScopedVector request_interceptors) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 net::HttpServerPropertiesManager* http_server_properties_manager_; | 214 net::HttpServerPropertiesManager* http_server_properties_manager_; |
213 | 215 |
214 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_; | 216 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_; |
215 | 217 |
216 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_; | 218 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_; |
217 | 219 |
218 mutable std::unique_ptr<net::URLRequestContext> media_request_context_; | 220 mutable std::unique_ptr<net::URLRequestContext> media_request_context_; |
219 | 221 |
220 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 222 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
221 | 223 |
222 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor> | 224 // Owned by ChromeNetworkDelegate (which is owned by |network_delegate_|). |
| 225 mutable domain_reliability::DomainReliabilityMonitor* |
223 domain_reliability_monitor_; | 226 domain_reliability_monitor_; |
224 | 227 |
225 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; | 228 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; |
226 | 229 |
227 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; | 230 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; |
228 | 231 |
229 // Parameters needed for isolated apps. | 232 // Parameters needed for isolated apps. |
230 base::FilePath profile_path_; | 233 base::FilePath profile_path_; |
231 int app_cache_max_size_; | 234 int app_cache_max_size_; |
232 int app_media_cache_max_size_; | 235 int app_media_cache_max_size_; |
233 | 236 |
234 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
235 }; | 238 }; |
236 | 239 |
237 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |