Index: net/url_request/url_request_job_manager.cc |
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc |
index 2a68088688b171af9ddbc2a37360e8127cf8716d..14f9f5d8884c385e20bfa6af504b36d7d5d8ed12 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 }, |
}; |