| 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, | |
| 176 scoped_ptr<net::URLRequestJobFactory::Interceptor> | |
| 177 protocol_handler_interceptor, | |
| 178 net::NetworkDelegate* network_delegate, | |
| 179 net::FtpTransactionFactory* ftp_transaction_factory, | |
| 180 net::FtpAuthCache* ftp_auth_cache) const; | |
| 181 | |
| 182 // Deletes all network related data since |time|. It deletes transport | 175 // Deletes all network related data since |time|. It deletes transport |
| 183 // security state since |time| and also deletes HttpServerProperties data. | 176 // security state since |time| and also deletes HttpServerProperties data. |
| 184 // Works asynchronously, however if the |completion| callback is non-null, | 177 // Works asynchronously, however if the |completion| callback is non-null, |
| 185 // it will be posted on the UI thread once the removal process completes. | 178 // it will be posted on the UI thread once the removal process completes. |
| 186 void ClearNetworkingHistorySinceOnIOThread(base::Time time, | 179 void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
| 187 const base::Closure& completion); | 180 const base::Closure& completion); |
| 188 | 181 |
| 189 // Lazy initialization params. | 182 // Lazy initialization params. |
| 190 mutable scoped_ptr<LazyParams> lazy_params_; | 183 mutable scoped_ptr<LazyParams> lazy_params_; |
| 191 | 184 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 206 | 199 |
| 207 // Parameters needed for isolated apps. | 200 // Parameters needed for isolated apps. |
| 208 FilePath profile_path_; | 201 FilePath profile_path_; |
| 209 int app_cache_max_size_; | 202 int app_cache_max_size_; |
| 210 int app_media_cache_max_size_; | 203 int app_media_cache_max_size_; |
| 211 | 204 |
| 212 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 205 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 213 }; | 206 }; |
| 214 | 207 |
| 215 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 208 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |