Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/url_request/ftp_protocol_handler.h" | |
| 6 #include "net/url_request/url_request_ftp_job.h" | |
| 7 | |
| 8 namespace net { | |
| 9 | |
| 10 class NetworkDelegate; | |
| 11 class FtpTransactionFactory; | |
| 12 class FtpAuthCache; | |
| 13 class URLRequest; | |
| 14 | |
| 15 FtpProtocolHandler::FtpProtocolHandler( | |
| 16 NetworkDelegate* network_delegate, | |
| 17 FtpTransactionFactory* ftp_transaction_factory, | |
| 18 FtpAuthCache* ftp_auth_cache) | |
| 19 : network_delegate_(network_delegate), | |
| 20 ftp_transaction_factory_(ftp_transaction_factory), | |
| 21 ftp_auth_cache_(ftp_auth_cache) { | |
| 22 } | |
|
willchan no longer on Chromium
2012/06/11 21:02:27
I suspect we should add DCHECKs here, since it'll
erikwright (departed)
2012/06/11 21:05:40
Yes.
shalev
2012/06/21 20:04:55
Done.
| |
| 23 | |
| 24 URLRequestJob* FtpProtocolHandler::MaybeCreateJob( | |
| 25 URLRequest* request) const OVERRIDE { | |
| 26 return new URLRequestFtpJob(request, | |
| 27 network_delegate_, | |
| 28 ftp_transaction_factory_, | |
| 29 ftp_auth_cache_); | |
| 30 } | |
| 31 | |
| 32 } // namespace net | |
| OLD | NEW |