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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 10537056: Replaced static URLRequestFtpJob factory with non-static protocol handler for FTP jobs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed job factories in off_the_record Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 1f25e4e9c196b28f459aa92f619ebf7d5d132ba2..0a70c6361787e1beb7a22eb8007b6f8d5c367cc3 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -184,6 +184,8 @@ class ProfileIOData {
void InitializeOnUIThread(Profile* profile);
void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const;
+ void SetUpJobFactoryDefaults(net::URLRequestJobFactory* job_factory) const;
+
// Lazy initializes the ProfileIOData object the first time a request context
// is requested. The lazy logic is implemented here. The actual initialization
// is done in LazyInitializeInternal(), implemented by subtypes. Static helper
@@ -220,10 +222,6 @@ class ProfileIOData {
return proxy_service_.get();
}
- net::URLRequestJobFactory* job_factory() const {
- return job_factory_.get();
- }
-
void set_http_server_properties_manager(
chrome_browser_net::HttpServerPropertiesManager* manager) const;
@@ -330,7 +328,6 @@ class ProfileIOData {
fraudulent_certificate_reporter_;
mutable scoped_ptr<net::ProxyService> proxy_service_;
mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
- mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
mutable scoped_ptr<chrome_browser_net::HttpServerPropertiesManager>
http_server_properties_manager_;

Powered by Google App Engine
This is Rietveld 408576698