summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job_manager.cc
diff options
context:
space:
mode:
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 13:18:11 +0000
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 13:18:11 +0000
commit9bfe0abdadacdea74ae09c94526671a7355f39b8 (patch)
tree34e720bb2a086a6361e9a79dd006ef680acb440b /net/url_request/url_request_job_manager.cc
parent2cd0d33bb3ef20aaa74b922050a3c55bda37b4ec (diff)
downloadchromium_src-9bfe0abdadacdea74ae09c94526671a7355f39b8.zip
chromium_src-9bfe0abdadacdea74ae09c94526671a7355f39b8.tar.gz
chromium_src-9bfe0abdadacdea74ae09c94526671a7355f39b8.tar.bz2
Disable FTP on iOS
FTP is not supported on iOS. This is not obvious, because net.gyp builds almost nothing on iOS currently, but we plan on keeping the ftp/ directory excluded from iOS builds. BUG=145459 Review URL: https://chromiumcodereview.appspot.com/10880071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_job_manager.cc')
-rw-r--r--net/url_request/url_request_job_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc
index 2a68088..14f9f5d 100644
--- a/net/url_request/url_request_job_manager.cc
+++ b/net/url_request/url_request_job_manager.cc
@@ -37,7 +37,9 @@ static const SchemeToFactory kBuiltinFactories[] = {
{ "http", URLRequestHttpJob::Factory },
{ "https", URLRequestHttpJob::Factory },
{ "file", URLRequestFileJob::Factory },
+#if !defined(DISABLE_FTP_SUPPORT)
{ "ftp", URLRequestFtpJob::Factory },
+#endif
{ "about", URLRequestAboutJob::Factory },
{ "data", URLRequestDataJob::Factory },
};