| 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 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; | 149 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; |
| 150 std::unique_ptr<net::HttpServerPropertiesManager> | 150 std::unique_ptr<net::HttpServerPropertiesManager> |
| 151 http_server_properties_manager; | 151 http_server_properties_manager; |
| 152 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> | 152 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> |
| 153 domain_reliability_monitor; | 153 domain_reliability_monitor; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 ProfileImplIOData(); | 156 ProfileImplIOData(); |
| 157 ~ProfileImplIOData() override; | 157 ~ProfileImplIOData() override; |
| 158 | 158 |
| 159 std::unique_ptr<net::NetworkDelegate> ConfigureNetworkDelegate( |
| 160 IOThread* io_thread, |
| 161 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate) |
| 162 const override; |
| 163 |
| 159 void InitializeInternal( | 164 void InitializeInternal( |
| 160 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate, | |
| 161 ProfileParams* profile_params, | 165 ProfileParams* profile_params, |
| 162 content::ProtocolHandlerMap* protocol_handlers, | 166 content::ProtocolHandlerMap* protocol_handlers, |
| 163 content::URLRequestInterceptorScopedVector request_interceptors) | 167 content::URLRequestInterceptorScopedVector request_interceptors) |
| 164 const override; | 168 const override; |
| 165 void InitializeExtensionsRequestContext( | 169 void InitializeExtensionsRequestContext( |
| 166 ProfileParams* profile_params) const override; | 170 ProfileParams* profile_params) const override; |
| 167 net::URLRequestContext* InitializeAppRequestContext( | 171 net::URLRequestContext* InitializeAppRequestContext( |
| 168 net::URLRequestContext* main_context, | 172 net::URLRequestContext* main_context, |
| 169 const StoragePartitionDescriptor& partition_descriptor, | 173 const StoragePartitionDescriptor& partition_descriptor, |
| 170 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 174 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 225 |
| 222 // Parameters needed for isolated apps. | 226 // Parameters needed for isolated apps. |
| 223 base::FilePath profile_path_; | 227 base::FilePath profile_path_; |
| 224 int app_cache_max_size_; | 228 int app_cache_max_size_; |
| 225 int app_media_cache_max_size_; | 229 int app_media_cache_max_size_; |
| 226 | 230 |
| 227 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 231 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 228 }; | 232 }; |
| 229 | 233 |
| 230 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 234 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |