Fix styling of #1199
This commit is contained in:
parent
bb0e68e563
commit
c9b549ae69
1 changed files with 11 additions and 13 deletions
|
@ -101,12 +101,7 @@ void AdapterRequestJob::CreateFileJobAndStart(const base::FilePath& path) {
|
|||
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
|
||||
} else {
|
||||
auto archive = asar::GetOrCreateAsarArchive(asar_path);
|
||||
if (!archive)
|
||||
real_job_ = new net::URLRequestErrorJob(
|
||||
request(),
|
||||
network_delegate(),
|
||||
net::ERR_FILE_NOT_FOUND);
|
||||
|
||||
if (archive)
|
||||
real_job_ = new asar::URLRequestAsarJob(
|
||||
request(),
|
||||
network_delegate(),
|
||||
|
@ -115,6 +110,9 @@ void AdapterRequestJob::CreateFileJobAndStart(const base::FilePath& path) {
|
|||
content::BrowserThread::GetBlockingPool()->
|
||||
GetTaskRunnerWithShutdownBehavior(
|
||||
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
|
||||
else
|
||||
real_job_ = new net::URLRequestErrorJob(
|
||||
request(), network_delegate(), net::ERR_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
real_job_->Start();
|
||||
|
|
Loading…
Reference in a new issue