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

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

Issue 1342613002: Revert of Remove reference counting from HttpNetworkSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 14 matching lines...) Expand all
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 CookieCryptoDelegate; 33 class CookieCryptoDelegate;
34 class FtpTransactionFactory; 34 class FtpTransactionFactory;
35 class HttpNetworkSession;
36 class HttpServerProperties; 35 class HttpServerProperties;
37 class HttpServerPropertiesManager; 36 class HttpServerPropertiesManager;
38 class HttpTransactionFactory; 37 class HttpTransactionFactory;
39 class ProxyConfig; 38 class ProxyConfig;
40 class SdchManager; 39 class SdchManager;
41 class SdchOwner; 40 class SdchOwner;
42 } // namespace net 41 } // namespace net
43 42
44 namespace storage { 43 namespace storage {
45 class SpecialStoragePolicy; 44 class SpecialStoragePolicy;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 const base::Closure& completion); 208 const base::Closure& completion);
210 209
211 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> 210 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate>
212 network_delegate_; 211 network_delegate_;
213 212
214 // Lazy initialization params. 213 // Lazy initialization params.
215 mutable scoped_ptr<LazyParams> lazy_params_; 214 mutable scoped_ptr<LazyParams> lazy_params_;
216 215
217 mutable scoped_refptr<JsonPrefStore> network_json_store_; 216 mutable scoped_refptr<JsonPrefStore> network_json_store_;
218 217
219 mutable scoped_ptr<net::HttpNetworkSession> http_network_session_;
220 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; 218 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
221 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; 219 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
222 220
223 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain 221 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain
224 // destruction ordering. 222 // destruction ordering.
225 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; 223 mutable net::HttpServerPropertiesManager* http_server_properties_manager_;
226 224
227 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; 225 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
228 226
229 mutable scoped_ptr<net::URLRequestContext> media_request_context_; 227 mutable scoped_ptr<net::URLRequestContext> media_request_context_;
230 228
231 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; 229 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
232 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; 230 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
233 231
234 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> 232 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor>
235 domain_reliability_monitor_; 233 domain_reliability_monitor_;
236 234
237 mutable scoped_ptr<net::SdchManager> sdch_manager_; 235 mutable scoped_ptr<net::SdchManager> sdch_manager_;
238 mutable scoped_ptr<net::SdchOwner> sdch_policy_; 236 mutable scoped_ptr<net::SdchOwner> sdch_policy_;
239 237
240 // Parameters needed for isolated apps. 238 // Parameters needed for isolated apps.
241 base::FilePath profile_path_; 239 base::FilePath profile_path_;
242 int app_cache_max_size_; 240 int app_cache_max_size_;
243 int app_media_cache_max_size_; 241 int app_media_cache_max_size_;
244 242
245 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 243 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
246 }; 244 };
247 245
248 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 246 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698