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

Unified Diff: chrome/browser/profiles/off_the_record_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/off_the_record_profile_io_data.h
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.h b/chrome/browser/profiles/off_the_record_profile_io_data.h
index 2e119a0027835a37969dcc92cc2d8a4de558b7ac..ab219517a3b7c1adec6008b242ca72a8dc0eb4a2 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.h
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.h
@@ -108,10 +108,16 @@ class OffTheRecordProfileIOData : public ProfileIOData {
ChromeURLRequestContext* main_context,
const std::string& app_id) const OVERRIDE;
+ void CreateFtpProtocolHandler(net::URLRequestJobFactory* job_factory) const;
+
mutable scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_;
mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
+ mutable scoped_ptr<net::FtpAuthCache> ftp_auth_cache_;
+
+ mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
+ mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData);
};

Powered by Google App Engine
This is Rietveld 408576698