| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 183 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 184 protocol_handler_interceptor, | 184 protocol_handler_interceptor, |
| 185 content::ProtocolHandlerMap* protocol_handlers, | 185 content::ProtocolHandlerMap* protocol_handlers, |
| 186 content::URLRequestInterceptorScopedVector request_interceptors) | 186 content::URLRequestInterceptorScopedVector request_interceptors) |
| 187 const override; | 187 const override; |
| 188 net::URLRequestContext* AcquireIsolatedMediaRequestContext( | 188 net::URLRequestContext* AcquireIsolatedMediaRequestContext( |
| 189 net::URLRequestContext* app_context, | 189 net::URLRequestContext* app_context, |
| 190 const StoragePartitionDescriptor& partition_descriptor) const override; | 190 const StoragePartitionDescriptor& partition_descriptor) const override; |
| 191 chrome_browser_net::Predictor* GetPredictor() override; | 191 chrome_browser_net::Predictor* GetPredictor() override; |
| 192 | 192 |
| 193 std::unique_ptr<net::ReportingService> MaybeCreateReportingService( |
| 194 net::URLRequestContext* url_request_context) const; |
| 195 |
| 193 // Deletes all network related data since |time|. It deletes transport | 196 // Deletes all network related data since |time|. It deletes transport |
| 194 // security state since |time| and also deletes HttpServerProperties data. | 197 // security state since |time| and also deletes HttpServerProperties data. |
| 195 // Works asynchronously, however if the |completion| callback is non-null, | 198 // Works asynchronously, however if the |completion| callback is non-null, |
| 196 // it will be posted on the UI thread once the removal process completes. | 199 // it will be posted on the UI thread once the removal process completes. |
| 197 void ClearNetworkingHistorySinceOnIOThread(base::Time time, | 200 void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
| 198 const base::Closure& completion); | 201 const base::Closure& completion); |
| 199 | 202 |
| 200 // Lazy initialization params. | 203 // Lazy initialization params. |
| 201 mutable std::unique_ptr<LazyParams> lazy_params_; | 204 mutable std::unique_ptr<LazyParams> lazy_params_; |
| 202 | 205 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 218 | 221 |
| 219 // Parameters needed for isolated apps. | 222 // Parameters needed for isolated apps. |
| 220 base::FilePath profile_path_; | 223 base::FilePath profile_path_; |
| 221 int app_cache_max_size_; | 224 int app_cache_max_size_; |
| 222 int app_media_cache_max_size_; | 225 int app_media_cache_max_size_; |
| 223 | 226 |
| 224 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 227 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 225 }; | 228 }; |
| 226 | 229 |
| 227 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 230 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |