Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Unified Diff: net/url_request/url_request_simple_job.cc

Issue 2176373005: [Housekeeping] Move file IO to slow pool. Base URL: https://chromium.googlesource.com/chromium/src.git@urlread
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_simple_job.cc
diff --git a/net/url_request/url_request_simple_job.cc b/net/url_request/url_request_simple_job.cc
index 4f8b01ab3a7ca29de1ebf9c097e46ba72980afe9..31f8800d803b66bd72f180135f9f9ceab2db51f4 100644
--- a/net/url_request/url_request_simple_job.cc
+++ b/net/url_request/url_request_simple_job.cc
@@ -36,9 +36,8 @@ URLRequestSimpleJob::URLRequestSimpleJob(URLRequest* request,
NetworkDelegate* network_delegate)
: URLRangeRequestJob(request, network_delegate),
next_data_offset_(0),
- task_runner_(base::WorkerPool::GetTaskRunner(false)),
- weak_factory_(this) {
-}
+ task_runner_(base::WorkerPool::GetTaskRunner(true)),
+ weak_factory_(this) {}
void URLRequestSimpleJob::Start() {
// Start reading asynchronously so that all error reporting and data
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698