| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 net::URLRequestContext* main_context, | 192 net::URLRequestContext* main_context, |
| 193 const StoragePartitionDescriptor& partition_descriptor, | 193 const StoragePartitionDescriptor& partition_descriptor, |
| 194 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 194 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 195 protocol_handler_interceptor, | 195 protocol_handler_interceptor, |
| 196 content::ProtocolHandlerMap* protocol_handlers, | 196 content::ProtocolHandlerMap* protocol_handlers, |
| 197 content::URLRequestInterceptorScopedVector request_interceptors) | 197 content::URLRequestInterceptorScopedVector request_interceptors) |
| 198 const override; | 198 const override; |
| 199 net::URLRequestContext* AcquireIsolatedMediaRequestContext( | 199 net::URLRequestContext* AcquireIsolatedMediaRequestContext( |
| 200 net::URLRequestContext* app_context, | 200 net::URLRequestContext* app_context, |
| 201 const StoragePartitionDescriptor& partition_descriptor) const override; | 201 const StoragePartitionDescriptor& partition_descriptor) const override; |
| 202 chrome_browser_net::Predictor* GetPredictor() override; |
| 202 | 203 |
| 203 // Deletes all network related data since |time|. It deletes transport | 204 // Deletes all network related data since |time|. It deletes transport |
| 204 // security state since |time| and also deletes HttpServerProperties data. | 205 // security state since |time| and also deletes HttpServerProperties data. |
| 205 // Works asynchronously, however if the |completion| callback is non-null, | 206 // Works asynchronously, however if the |completion| callback is non-null, |
| 206 // it will be posted on the UI thread once the removal process completes. | 207 // it will be posted on the UI thread once the removal process completes. |
| 207 void ClearNetworkingHistorySinceOnIOThread(base::Time time, | 208 void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
| 208 const base::Closure& completion); | 209 const base::Closure& completion); |
| 209 | 210 |
| 210 mutable std::unique_ptr< | 211 mutable std::unique_ptr< |
| 211 data_reduction_proxy::DataReductionProxyNetworkDelegate> | 212 data_reduction_proxy::DataReductionProxyNetworkDelegate> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 242 | 243 |
| 243 // Parameters needed for isolated apps. | 244 // Parameters needed for isolated apps. |
| 244 base::FilePath profile_path_; | 245 base::FilePath profile_path_; |
| 245 int app_cache_max_size_; | 246 int app_cache_max_size_; |
| 246 int app_media_cache_max_size_; | 247 int app_media_cache_max_size_; |
| 247 | 248 |
| 248 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 249 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 249 }; | 250 }; |
| 250 | 251 |
| 251 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 252 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |