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

Unified Diff: trunk/src/net/url_request/ftp_protocol_handler.cc

Issue 12605011: Revert 188912 "Removed static factories for data, ftp, file, and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/net/url_request/ftp_protocol_handler.cc
===================================================================
--- trunk/src/net/url_request/ftp_protocol_handler.cc (revision 188924)
+++ trunk/src/net/url_request/ftp_protocol_handler.cc (working copy)
@@ -15,9 +15,12 @@
namespace net {
FtpProtocolHandler::FtpProtocolHandler(
- FtpTransactionFactory* ftp_transaction_factory)
- : ftp_transaction_factory_(ftp_transaction_factory) {
+ FtpTransactionFactory* ftp_transaction_factory,
+ FtpAuthCache* ftp_auth_cache)
+ : ftp_transaction_factory_(ftp_transaction_factory),
+ ftp_auth_cache_(ftp_auth_cache) {
DCHECK(ftp_transaction_factory_);
+ DCHECK(ftp_auth_cache_);
}
URLRequestJob* FtpProtocolHandler::MaybeCreateJob(
@@ -31,7 +34,7 @@
return new URLRequestFtpJob(request,
network_delegate,
ftp_transaction_factory_,
- &ftp_auth_cache_);
+ ftp_auth_cache_);
}
} // namespace net
« no previous file with comments | « trunk/src/net/url_request/ftp_protocol_handler.h ('k') | trunk/src/net/url_request/protocol_intercept_job_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698