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

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: Add test for IsSafeRedirectTarget Created 7 years, 10 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 26 matching lines...) Expand all
37 class TransportSecurityPersister; 37 class TransportSecurityPersister;
38 38
39 namespace chrome_browser_net { 39 namespace chrome_browser_net {
40 class LoadTimeStats; 40 class LoadTimeStats;
41 class ResourcePrefetchPredictorObserver; 41 class ResourcePrefetchPredictorObserver;
42 } 42 }
43 43
44 namespace net { 44 namespace net {
45 class CookieStore; 45 class CookieStore;
46 class FraudulentCertificateReporter; 46 class FraudulentCertificateReporter;
47 class FtpTransactionFactory;
47 class HttpServerProperties; 48 class HttpServerProperties;
48 class HttpTransactionFactory; 49 class HttpTransactionFactory;
49 class ServerBoundCertService; 50 class ServerBoundCertService;
50 class ProxyConfigService; 51 class ProxyConfigService;
51 class ProxyService; 52 class ProxyService;
52 class SSLConfigService; 53 class SSLConfigService;
53 class TransportSecurityState; 54 class TransportSecurityState;
54 class URLRequestJobFactoryImpl; 55 class URLRequestJobFactoryImpl;
55 } // namespace net 56 } // namespace net
56 57
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 static std::string GetSSLSessionCacheShard(); 287 static std::string GetSSLSessionCacheShard();
287 288
288 void InitializeOnUIThread(Profile* profile); 289 void InitializeOnUIThread(Profile* profile);
289 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; 290 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const;
290 291
291 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( 292 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults(
292 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, 293 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory,
293 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 294 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
294 protocol_handler_interceptor, 295 protocol_handler_interceptor,
295 net::NetworkDelegate* network_delegate, 296 net::NetworkDelegate* network_delegate,
296 net::FtpTransactionFactory* ftp_transaction_factory, 297 net::FtpTransactionFactory* ftp_transaction_factory) const;
297 net::FtpAuthCache* ftp_auth_cache) const;
298 298
299 // Called when the profile is destroyed. 299 // Called when the profile is destroyed.
300 void ShutdownOnUIThread(); 300 void ShutdownOnUIThread();
301 301
302 // A ServerBoundCertService object is created by a derived class of 302 // A ServerBoundCertService object is created by a derived class of
303 // ProfileIOData, and the derived class calls this method to set the 303 // ProfileIOData, and the derived class calls this method to set the
304 // server_bound_cert_service_ member and transfers ownership to the base 304 // server_bound_cert_service_ member and transfers ownership to the base
305 // class. 305 // class.
306 void set_server_bound_cert_service( 306 void set_server_bound_cert_service(
307 net::ServerBoundCertService* server_bound_cert_service) const; 307 net::ServerBoundCertService* server_bound_cert_service) const;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 548
549 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 549 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
550 bool initialized_on_UI_thread_; 550 bool initialized_on_UI_thread_;
551 551
552 bool is_incognito_; 552 bool is_incognito_;
553 553
554 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 554 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
555 }; 555 };
556 556
557 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 557 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698