| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 net::URLRequestContext* main_context, | 193 net::URLRequestContext* main_context, |
| 194 const StoragePartitionDescriptor& partition_descriptor, | 194 const StoragePartitionDescriptor& partition_descriptor, |
| 195 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 195 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 196 protocol_handler_interceptor, | 196 protocol_handler_interceptor, |
| 197 content::ProtocolHandlerMap* protocol_handlers, | 197 content::ProtocolHandlerMap* protocol_handlers, |
| 198 content::URLRequestInterceptorScopedVector request_interceptors) | 198 content::URLRequestInterceptorScopedVector request_interceptors) |
| 199 const override; | 199 const override; |
| 200 net::URLRequestContext* AcquireIsolatedMediaRequestContext( | 200 net::URLRequestContext* AcquireIsolatedMediaRequestContext( |
| 201 net::URLRequestContext* app_context, | 201 net::URLRequestContext* app_context, |
| 202 const StoragePartitionDescriptor& partition_descriptor) const override; | 202 const StoragePartitionDescriptor& partition_descriptor) const override; |
| 203 chrome_browser_net::Predictor* predictor() override; |
| 203 | 204 |
| 204 // Deletes all network related data since |time|. It deletes transport | 205 // Deletes all network related data since |time|. It deletes transport |
| 205 // security state since |time| and also deletes HttpServerProperties data. | 206 // security state since |time| and also deletes HttpServerProperties data. |
| 206 // Works asynchronously, however if the |completion| callback is non-null, | 207 // Works asynchronously, however if the |completion| callback is non-null, |
| 207 // it will be posted on the UI thread once the removal process completes. | 208 // it will be posted on the UI thread once the removal process completes. |
| 208 void ClearNetworkingHistorySinceOnIOThread(base::Time time, | 209 void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
| 209 const base::Closure& completion); | 210 const base::Closure& completion); |
| 210 | 211 |
| 211 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> | 212 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> |
| 212 network_delegate_; | 213 network_delegate_; |
| (...skipping 29 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 |