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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 net::URLRequestContext* main_context, | 175 net::URLRequestContext* main_context, |
176 const StoragePartitionDescriptor& partition_descriptor, | 176 const StoragePartitionDescriptor& partition_descriptor, |
177 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 177 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
178 protocol_handler_interceptor, | 178 protocol_handler_interceptor, |
179 content::ProtocolHandlerMap* protocol_handlers, | 179 content::ProtocolHandlerMap* protocol_handlers, |
180 content::URLRequestInterceptorScopedVector request_interceptors) | 180 content::URLRequestInterceptorScopedVector request_interceptors) |
181 const override; | 181 const override; |
182 net::URLRequestContext* InitializeMediaRequestContext( | 182 net::URLRequestContext* InitializeMediaRequestContext( |
183 net::URLRequestContext* original_context, | 183 net::URLRequestContext* original_context, |
184 const StoragePartitionDescriptor& partition_descriptor, | 184 const StoragePartitionDescriptor& partition_descriptor, |
185 const std::string& name) const override; | 185 const char* name) const override; |
186 net::URLRequestContext* AcquireMediaRequestContext() const override; | 186 net::URLRequestContext* AcquireMediaRequestContext() const override; |
187 net::URLRequestContext* AcquireIsolatedAppRequestContext( | 187 net::URLRequestContext* AcquireIsolatedAppRequestContext( |
188 net::URLRequestContext* main_context, | 188 net::URLRequestContext* main_context, |
189 const StoragePartitionDescriptor& partition_descriptor, | 189 const StoragePartitionDescriptor& partition_descriptor, |
190 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 190 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
191 protocol_handler_interceptor, | 191 protocol_handler_interceptor, |
192 content::ProtocolHandlerMap* protocol_handlers, | 192 content::ProtocolHandlerMap* protocol_handlers, |
193 content::URLRequestInterceptorScopedVector request_interceptors) | 193 content::URLRequestInterceptorScopedVector request_interceptors) |
194 const override; | 194 const override; |
195 net::URLRequestContext* AcquireIsolatedMediaRequestContext( | 195 net::URLRequestContext* AcquireIsolatedMediaRequestContext( |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 // Parameters needed for isolated apps. | 232 // Parameters needed for isolated apps. |
233 base::FilePath profile_path_; | 233 base::FilePath profile_path_; |
234 int app_cache_max_size_; | 234 int app_cache_max_size_; |
235 int app_media_cache_max_size_; | 235 int app_media_cache_max_size_; |
236 | 236 |
237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
238 }; | 238 }; |
239 | 239 |
240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |