Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 2428143002: Clean up FtpTransactionFacory ownership. (Closed)
Patch Set: Oops Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
24 namespace data_reduction_proxy { 24 namespace data_reduction_proxy {
25 class DataReductionProxyNetworkDelegate; 25 class DataReductionProxyNetworkDelegate;
26 } // namespace data_reduction_proxy 26 } // namespace data_reduction_proxy
27 27
28 namespace domain_reliability { 28 namespace domain_reliability {
29 class DomainReliabilityMonitor; 29 class DomainReliabilityMonitor;
30 } // namespace domain_reliability 30 } // namespace domain_reliability
31 31
32 namespace net { 32 namespace net {
33 class CookieStore; 33 class CookieStore;
34 class FtpTransactionFactory;
35 class HttpServerPropertiesManager; 34 class HttpServerPropertiesManager;
36 class SdchOwner; 35 class SdchOwner;
37 } // namespace net 36 } // namespace net
38 37
39 namespace previews { 38 namespace previews {
40 class PreviewsIOData; 39 class PreviewsIOData;
41 } 40 }
42 41
43 namespace storage { 42 namespace storage {
44 class SpecialStoragePolicy; 43 class SpecialStoragePolicy;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Works asynchronously, however if the |completion| callback is non-null, 203 // Works asynchronously, however if the |completion| callback is non-null,
205 // it will be posted on the UI thread once the removal process completes. 204 // it will be posted on the UI thread once the removal process completes.
206 void ClearNetworkingHistorySinceOnIOThread(base::Time time, 205 void ClearNetworkingHistorySinceOnIOThread(base::Time time,
207 const base::Closure& completion); 206 const base::Closure& completion);
208 207
209 // Lazy initialization params. 208 // Lazy initialization params.
210 mutable std::unique_ptr<LazyParams> lazy_params_; 209 mutable std::unique_ptr<LazyParams> lazy_params_;
211 210
212 mutable scoped_refptr<JsonPrefStore> network_json_store_; 211 mutable scoped_refptr<JsonPrefStore> network_json_store_;
213 212
214 mutable std::unique_ptr<net::FtpTransactionFactory> ftp_factory_;
215
216 // Owned by URLRequestContextStorage, reference here to can be shut down on 213 // Owned by URLRequestContextStorage, reference here to can be shut down on
217 // the UI thread. 214 // the UI thread.
218 net::HttpServerPropertiesManager* http_server_properties_manager_; 215 net::HttpServerPropertiesManager* http_server_properties_manager_;
219 216
220 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_; 217 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_;
221 218
222 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_; 219 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_;
223 220
224 mutable std::unique_ptr<net::URLRequestContext> media_request_context_; 221 mutable std::unique_ptr<net::URLRequestContext> media_request_context_;
225 222
226 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; 223 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
227 224
228 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor> 225 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
229 domain_reliability_monitor_; 226 domain_reliability_monitor_;
230 227
231 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; 228 mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
232 229
233 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; 230 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
234 231
235 // Parameters needed for isolated apps. 232 // Parameters needed for isolated apps.
236 base::FilePath profile_path_; 233 base::FilePath profile_path_;
237 int app_cache_max_size_; 234 int app_cache_max_size_;
238 int app_media_cache_max_size_; 235 int app_media_cache_max_size_;
239 236
240 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
241 }; 238 };
242 239
243 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698