| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index 6897619b19e43bcacec75e48864f7928603b794f..df070b55a0a3818f1ab901492e5ce64998cd244c 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -245,9 +245,11 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
|
|
|
| main_http_factory_.reset(cache);
|
| main_context->set_http_transaction_factory(cache);
|
| +#if !defined(DISABLE_FTP_SUPPORT)
|
| ftp_factory_.reset(
|
| new net::FtpNetworkLayer(main_context->host_resolver()));
|
| main_context->set_ftp_transaction_factory(ftp_factory_.get());
|
| +#endif // !defined(DISABLE_FTP_SUPPORT)
|
|
|
| main_context->set_chrome_url_data_manager_backend(
|
| chrome_url_data_manager_backend());
|
| @@ -358,9 +360,11 @@ OffTheRecordProfileIOData::AcquireIsolatedMediaRequestContext(
|
| void OffTheRecordProfileIOData::CreateFtpProtocolHandler(
|
| net::URLRequestJobFactory* job_factory,
|
| net::FtpAuthCache* ftp_auth_cache) const {
|
| +#if !defined(DISABLE_FTP_SUPPORT)
|
| job_factory->SetProtocolHandler(
|
| chrome::kFtpScheme,
|
| new net::FtpProtocolHandler(ftp_factory_.get(), ftp_auth_cache));
|
| +#endif // !defined(DISABLE_FTP_SUPPORT)
|
| }
|
|
|
| chrome_browser_net::LoadTimeStats* OffTheRecordProfileIOData::GetLoadTimeStats(
|
|
|