net::FtpProtocolHandler has changed its constructor
This commit is contained in:
parent
5162905fe4
commit
5cf2873b77
2 changed files with 2 additions and 3 deletions
|
@ -255,7 +255,7 @@ class ResolveProxyHelper {
|
|||
// Start the request.
|
||||
int result = proxy_service->ResolveProxy(
|
||||
url, "GET", &proxy_info_, completion_callback, &pac_req_, nullptr,
|
||||
net::BoundNetLog());
|
||||
net::NetLogWithSource());
|
||||
|
||||
// Completed synchronously.
|
||||
if (result != net::ERR_IO_PENDING)
|
||||
|
|
|
@ -155,8 +155,7 @@ AtomBrowserContext::CreateURLRequestJobFactory(
|
|||
url_request_context_getter()->GetURLRequestContext()->host_resolver();
|
||||
job_factory->SetProtocolHandler(
|
||||
url::kFtpScheme,
|
||||
base::WrapUnique(new net::FtpProtocolHandler(
|
||||
new net::FtpNetworkLayer(host_resolver))));
|
||||
net::FtpProtocolHandler::Create(host_resolver));
|
||||
|
||||
return std::move(job_factory);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue