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