| 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/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 scoped_ptr<net::URLRequestJobFactory::Interceptor> | 165 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 166 protocol_handler_interceptor) const OVERRIDE; | 166 protocol_handler_interceptor) const OVERRIDE; |
| 167 virtual ChromeURLRequestContext* | 167 virtual ChromeURLRequestContext* |
| 168 AcquireIsolatedMediaRequestContext( | 168 AcquireIsolatedMediaRequestContext( |
| 169 ChromeURLRequestContext* app_context, | 169 ChromeURLRequestContext* app_context, |
| 170 const StoragePartitionDescriptor& partition_descriptor) | 170 const StoragePartitionDescriptor& partition_descriptor) |
| 171 const OVERRIDE; | 171 const OVERRIDE; |
| 172 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( | 172 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( |
| 173 IOThread::Globals* io_thread_globals) const OVERRIDE; | 173 IOThread::Globals* io_thread_globals) const OVERRIDE; |
| 174 | 174 |
| 175 void SetUpJobFactory(net::URLRequestJobFactoryImpl* job_factory, | 175 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactory( |
| 176 scoped_ptr<net::URLRequestJobFactory::Interceptor> | 176 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, |
| 177 protocol_handler_interceptor, | 177 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 178 net::NetworkDelegate* network_delegate, | 178 protocol_handler_interceptor, |
| 179 net::FtpTransactionFactory* ftp_transaction_factory, | 179 net::NetworkDelegate* network_delegate, |
| 180 net::FtpAuthCache* ftp_auth_cache) const; | 180 net::FtpTransactionFactory* ftp_transaction_factory, |
| 181 net::FtpAuthCache* ftp_auth_cache) const; |
| 181 | 182 |
| 182 // Deletes all network related data since |time|. It deletes transport | 183 // Deletes all network related data since |time|. It deletes transport |
| 183 // security state since |time| and also deletes HttpServerProperties data. | 184 // security state since |time| and also deletes HttpServerProperties data. |
| 184 // Works asynchronously, however if the |completion| callback is non-null, | 185 // Works asynchronously, however if the |completion| callback is non-null, |
| 185 // it will be posted on the UI thread once the removal process completes. | 186 // it will be posted on the UI thread once the removal process completes. |
| 186 void ClearNetworkingHistorySinceOnIOThread(base::Time time, | 187 void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
| 187 const base::Closure& completion); | 188 const base::Closure& completion); |
| 188 | 189 |
| 189 // Lazy initialization params. | 190 // Lazy initialization params. |
| 190 mutable scoped_ptr<LazyParams> lazy_params_; | 191 mutable scoped_ptr<LazyParams> lazy_params_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 206 | 207 |
| 207 // Parameters needed for isolated apps. | 208 // Parameters needed for isolated apps. |
| 208 FilePath profile_path_; | 209 FilePath profile_path_; |
| 209 int app_cache_max_size_; | 210 int app_cache_max_size_; |
| 210 int app_media_cache_max_size_; | 211 int app_media_cache_max_size_; |
| 211 | 212 |
| 212 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 213 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 216 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |