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

Unified Diff: net/url_request/ftp_protocol_handler.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/url_request/ftp_protocol_handler.cc
diff --git a/net/url_request/ftp_protocol_handler.cc b/net/url_request/ftp_protocol_handler.cc
index 56d15e6d31bf4db32426f7cbd0da4d222d8a3e85..00438801f09265f1cc337a179f69f58bf400f97a 100644
--- a/net/url_request/ftp_protocol_handler.cc
+++ b/net/url_request/ftp_protocol_handler.cc
@@ -26,10 +26,11 @@ FtpProtocolHandler::~FtpProtocolHandler() {
}
URLRequestJob* FtpProtocolHandler::MaybeCreateJob(
- URLRequest* request, NetworkDelegate* network_delegate) const {
+ URLRequest* request,
+ NetworkDelegate* network_delegate) const {
int port = request->url().IntPort();
- if (request->url().has_port() &&
- !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) {
+ if (request->url().has_port() && !IsPortAllowedByFtp(port) &&
+ !IsPortAllowedByOverride(port)) {
return new URLRequestErrorJob(request, network_delegate, ERR_UNSAFE_PORT);
}

Powered by Google App Engine
This is Rietveld 408576698