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));
|
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
|
||||||
} else {
|
} else {
|
||||||
auto archive = asar::GetOrCreateAsarArchive(asar_path);
|
auto archive = asar::GetOrCreateAsarArchive(asar_path);
|
||||||
if (!archive)
|
if (archive)
|
||||||
real_job_ = new net::URLRequestErrorJob(
|
|
||||||
request(),
|
|
||||||
network_delegate(),
|
|
||||||
net::ERR_FILE_NOT_FOUND);
|
|
||||||
|
|
||||||
real_job_ = new asar::URLRequestAsarJob(
|
real_job_ = new asar::URLRequestAsarJob(
|
||||||
request(),
|
request(),
|
||||||
network_delegate(),
|
network_delegate(),
|
||||||
|
@ -115,6 +110,9 @@ void AdapterRequestJob::CreateFileJobAndStart(const base::FilePath& path) {
|
||||||
content::BrowserThread::GetBlockingPool()->
|
content::BrowserThread::GetBlockingPool()->
|
||||||
GetTaskRunnerWithShutdownBehavior(
|
GetTaskRunnerWithShutdownBehavior(
|
||||||
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
|
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
|
||||||
|
else
|
||||||
|
real_job_ = new net::URLRequestErrorJob(
|
||||||
|
request(), network_delegate(), net::ERR_FILE_NOT_FOUND);
|
||||||
}
|
}
|
||||||
|
|
||||||
real_job_->Start();
|
real_job_->Start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue