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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 virtual ChromeURLRequestContext* | 136 virtual ChromeURLRequestContext* |
137 AcquireMediaRequestContext() const OVERRIDE; | 137 AcquireMediaRequestContext() const OVERRIDE; |
138 virtual ChromeURLRequestContext* | 138 virtual ChromeURLRequestContext* |
139 AcquireIsolatedAppRequestContext( | 139 AcquireIsolatedAppRequestContext( |
140 ChromeURLRequestContext* main_context, | 140 ChromeURLRequestContext* main_context, |
141 const std::string& app_id) const OVERRIDE; | 141 const std::string& app_id) const OVERRIDE; |
142 virtual chrome_browser_net::CacheStats* GetCacheStats( | 142 virtual chrome_browser_net::CacheStats* GetCacheStats( |
143 IOThread::Globals* io_thread_globals) const OVERRIDE; | 143 IOThread::Globals* io_thread_globals) const OVERRIDE; |
144 | 144 |
145 void CreateFtpProtocolHandler(net::URLRequestJobFactory* job_factory, | 145 void CreateFtpProtocolHandler(net::URLRequestJobFactory* job_factory, |
146 net::FtpAuthCache* ftp_auth_cache) const; | 146 net::FtpAuthCache* ftp_auth_cache, |
| 147 net::NetworkDelegate* network_delegate) const; |
147 | 148 |
148 // Clears the networking history since |time|. | 149 // Clears the networking history since |time|. |
149 void ClearNetworkingHistorySinceOnIOThread(base::Time time); | 150 void ClearNetworkingHistorySinceOnIOThread(base::Time time); |
150 | 151 |
151 // Lazy initialization params. | 152 // Lazy initialization params. |
152 mutable scoped_ptr<LazyParams> lazy_params_; | 153 mutable scoped_ptr<LazyParams> lazy_params_; |
153 | 154 |
154 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 155 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
155 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; | 156 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; |
156 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; | 157 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; |
157 | 158 |
158 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; | 159 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
159 | 160 |
160 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_; | 161 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_; |
161 | 162 |
162 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 163 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
163 mutable scoped_ptr<net::URLRequestJobFactory> media_request_job_factory_; | 164 mutable scoped_ptr<net::URLRequestJobFactory> media_request_job_factory_; |
164 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 165 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
165 | 166 |
166 // Parameters needed for isolated apps. | 167 // Parameters needed for isolated apps. |
167 FilePath app_path_; | 168 FilePath app_path_; |
168 | 169 |
169 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 170 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
170 }; | 171 }; |
171 | 172 |
172 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 173 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |