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: net/url_request/ftp_protocol_handler.cc

Issue 1230313005: split port_util.h off of net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 5 years, 5 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
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 #include "net/url_request/ftp_protocol_handler.h" 5 #include "net/url_request/ftp_protocol_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
mmenke 2015/07/16 15:07:58 Not using net_util
eroman 2015/07/21 01:04:04 Done.
10 #include "net/base/port_util.h"
10 #include "net/ftp/ftp_auth_cache.h" 11 #include "net/ftp/ftp_auth_cache.h"
11 #include "net/url_request/url_request.h" 12 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_error_job.h" 13 #include "net/url_request/url_request_error_job.h"
13 #include "net/url_request/url_request_ftp_job.h" 14 #include "net/url_request/url_request_ftp_job.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 FtpProtocolHandler::FtpProtocolHandler( 19 FtpProtocolHandler::FtpProtocolHandler(
19 FtpTransactionFactory* ftp_transaction_factory) 20 FtpTransactionFactory* ftp_transaction_factory)
(...skipping 14 matching lines...) Expand all
34 return new URLRequestErrorJob(request, network_delegate, ERR_UNSAFE_PORT); 35 return new URLRequestErrorJob(request, network_delegate, ERR_UNSAFE_PORT);
35 } 36 }
36 37
37 return new URLRequestFtpJob(request, 38 return new URLRequestFtpJob(request,
38 network_delegate, 39 network_delegate,
39 ftp_transaction_factory_, 40 ftp_transaction_factory_,
40 ftp_auth_cache_.get()); 41 ftp_auth_cache_.get());
41 } 42 }
42 43
43 } // namespace net 44 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698