| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 const std::string& app_id, | 153 const std::string& app_id, |
| 154 scoped_ptr<net::URLRequestJobFactory::Interceptor> | 154 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 155 protocol_handler_interceptor) const OVERRIDE; | 155 protocol_handler_interceptor) const OVERRIDE; |
| 156 virtual ChromeURLRequestContext* | 156 virtual ChromeURLRequestContext* |
| 157 AcquireIsolatedMediaRequestContext( | 157 AcquireIsolatedMediaRequestContext( |
| 158 ChromeURLRequestContext* app_context, | 158 ChromeURLRequestContext* app_context, |
| 159 const std::string& app_id) const OVERRIDE; | 159 const std::string& app_id) const OVERRIDE; |
| 160 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( | 160 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( |
| 161 IOThread::Globals* io_thread_globals) const OVERRIDE; | 161 IOThread::Globals* io_thread_globals) const OVERRIDE; |
| 162 | 162 |
| 163 void SetUpJobFactory(net::URLRequestJobFactory* job_factory, | 163 void SetUpJobFactory(net::URLRequestJobFactoryImpl* job_factory, |
| 164 scoped_ptr<net::URLRequestJobFactory::Interceptor> | 164 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 165 protocol_handler_interceptor, | 165 protocol_handler_interceptor, |
| 166 net::NetworkDelegate* network_delegate, | 166 net::NetworkDelegate* network_delegate, |
| 167 net::FtpTransactionFactory* ftp_transaction_factory, | 167 net::FtpTransactionFactory* ftp_transaction_factory, |
| 168 net::FtpAuthCache* ftp_auth_cache) const; | 168 net::FtpAuthCache* ftp_auth_cache) const; |
| 169 | 169 |
| 170 // Clears the networking history since |time|. | 170 // Clears the networking history since |time|. |
| 171 void ClearNetworkingHistorySinceOnIOThread(base::Time time); | 171 void ClearNetworkingHistorySinceOnIOThread(base::Time time); |
| 172 | 172 |
| 173 // Lazy initialization params. | 173 // Lazy initialization params. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 185 | 185 |
| 186 // Parameters needed for isolated apps. | 186 // Parameters needed for isolated apps. |
| 187 FilePath profile_path_; | 187 FilePath profile_path_; |
| 188 int app_cache_max_size_; | 188 int app_cache_max_size_; |
| 189 int app_media_cache_max_size_; | 189 int app_media_cache_max_size_; |
| 190 | 190 |
| 191 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 191 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 194 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |