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

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: sync (r198785) Created 7 years, 7 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 29 matching lines...) Expand all
40 namespace chrome_browser_net { 40 namespace chrome_browser_net {
41 class LoadTimeStats; 41 class LoadTimeStats;
42 class ResourcePrefetchPredictorObserver; 42 class ResourcePrefetchPredictorObserver;
43 } 43 }
44 44
45 namespace net { 45 namespace net {
46 class CertTrustAnchorProvider; 46 class CertTrustAnchorProvider;
47 class CertVerifier; 47 class CertVerifier;
48 class CookieStore; 48 class CookieStore;
49 class FraudulentCertificateReporter; 49 class FraudulentCertificateReporter;
50 class FtpTransactionFactory;
50 class HttpServerProperties; 51 class HttpServerProperties;
51 class HttpTransactionFactory; 52 class HttpTransactionFactory;
52 class ServerBoundCertService; 53 class ServerBoundCertService;
53 class ProxyConfigService; 54 class ProxyConfigService;
54 class ProxyService; 55 class ProxyService;
55 class SSLConfigService; 56 class SSLConfigService;
56 class TransportSecurityState; 57 class TransportSecurityState;
57 class URLRequestJobFactoryImpl; 58 class URLRequestJobFactoryImpl;
58 } // namespace net 59 } // namespace net
59 60
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 static std::string GetSSLSessionCacheShard(); 288 static std::string GetSSLSessionCacheShard();
288 289
289 void InitializeOnUIThread(Profile* profile); 290 void InitializeOnUIThread(Profile* profile);
290 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; 291 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const;
291 292
292 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( 293 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults(
293 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, 294 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory,
294 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 295 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
295 protocol_handler_interceptor, 296 protocol_handler_interceptor,
296 net::NetworkDelegate* network_delegate, 297 net::NetworkDelegate* network_delegate,
297 net::FtpTransactionFactory* ftp_transaction_factory, 298 net::FtpTransactionFactory* ftp_transaction_factory) const;
298 net::FtpAuthCache* ftp_auth_cache) const;
299 299
300 // Called when the profile is destroyed. 300 // Called when the profile is destroyed.
301 void ShutdownOnUIThread(); 301 void ShutdownOnUIThread();
302 302
303 // A ServerBoundCertService object is created by a derived class of 303 // A ServerBoundCertService object is created by a derived class of
304 // ProfileIOData, and the derived class calls this method to set the 304 // ProfileIOData, and the derived class calls this method to set the
305 // server_bound_cert_service_ member and transfers ownership to the base 305 // server_bound_cert_service_ member and transfers ownership to the base
306 // class. 306 // class.
307 void set_server_bound_cert_service( 307 void set_server_bound_cert_service(
308 net::ServerBoundCertService* server_bound_cert_service) const; 308 net::ServerBoundCertService* server_bound_cert_service) const;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 526
527 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 527 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
528 bool initialized_on_UI_thread_; 528 bool initialized_on_UI_thread_;
529 529
530 bool is_incognito_; 530 bool is_incognito_;
531 531
532 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 532 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
533 }; 533 };
534 534
535 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 535 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698