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