Add protocol interceptor API.
This commit is contained in:
parent
335db788a5
commit
7737708fdd
5 changed files with 149 additions and 10 deletions
|
@ -96,7 +96,7 @@ void AdapterRequestJob::CreateJobFromProtocolHandlerAndStart() {
|
|||
DCHECK(protocol_handler_);
|
||||
real_job_ = protocol_handler_->MaybeCreateJob(request(),
|
||||
network_delegate());
|
||||
if (!real_job_)
|
||||
if (!real_job_.get())
|
||||
CreateErrorJobAndStart(net::ERR_NOT_IMPLEMENTED);
|
||||
else
|
||||
real_job_->Start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue