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

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

Issue 11931024: Removed static factories for data, ftp, file, and about jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 11 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 | Annotate | Revision Log
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_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 25 matching lines...) Expand all
36 class TransportSecurityPersister; 36 class TransportSecurityPersister;
37 37
38 namespace chrome_browser_net { 38 namespace chrome_browser_net {
39 class LoadTimeStats; 39 class LoadTimeStats;
40 class ResourcePrefetchPredictorObserver; 40 class ResourcePrefetchPredictorObserver;
41 } 41 }
42 42
43 namespace net { 43 namespace net {
44 class CookieStore; 44 class CookieStore;
45 class FraudulentCertificateReporter; 45 class FraudulentCertificateReporter;
46 class FtpTransactionFactory;
46 class HttpServerProperties; 47 class HttpServerProperties;
47 class HttpTransactionFactory; 48 class HttpTransactionFactory;
48 class ServerBoundCertService; 49 class ServerBoundCertService;
49 class ProxyConfigService; 50 class ProxyConfigService;
50 class ProxyService; 51 class ProxyService;
51 class SSLConfigService; 52 class SSLConfigService;
52 class TransportSecurityState; 53 class TransportSecurityState;
53 class URLRequestJobFactoryImpl; 54 class URLRequestJobFactoryImpl;
54 } // namespace net 55 } // namespace net
55 56
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 static std::string GetSSLSessionCacheShard(); 242 static std::string GetSSLSessionCacheShard();
242 243
243 void InitializeOnUIThread(Profile* profile); 244 void InitializeOnUIThread(Profile* profile);
244 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; 245 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const;
245 246
246 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( 247 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults(
247 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, 248 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory,
248 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 249 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
249 protocol_handler_interceptor, 250 protocol_handler_interceptor,
250 net::NetworkDelegate* network_delegate, 251 net::NetworkDelegate* network_delegate,
251 net::FtpTransactionFactory* ftp_transaction_factory, 252 net::FtpTransactionFactory* ftp_transaction_factory) const;
252 net::FtpAuthCache* ftp_auth_cache) const;
253 253
254 // Lazy initializes the ProfileIOData object the first time a request context 254 // Lazy initializes the ProfileIOData object the first time a request context
255 // is requested. The lazy logic is implemented here. The actual initialization 255 // is requested. The lazy logic is implemented here. The actual initialization
256 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper 256 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper
257 // functions have been provided to assist in common operations. 257 // functions have been provided to assist in common operations.
258 void LazyInitialize() const; 258 void LazyInitialize() const;
259 259
260 // Called when the profile is destroyed. 260 // Called when the profile is destroyed.
261 void ShutdownOnUIThread(); 261 void ShutdownOnUIThread();
262 262
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 473 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
474 bool initialized_on_UI_thread_; 474 bool initialized_on_UI_thread_;
475 475
476 bool is_incognito_; 476 bool is_incognito_;
477 477
478 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 478 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
479 }; 479 };
480 480
481 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 481 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698