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

Unified Diff: net/url_request/url_request_file_job.h

Issue 22795006: Remove WorkerPool dependency from URLRequestFileJob. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address akalin's suggestions Created 7 years, 4 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
Index: net/url_request/url_request_file_job.h
diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h
index 6fc7fb919801c850982b55cd0742f443cafc5756..5b0d6b11f1844e41ae1495a9defb936984216548 100644
--- a/net/url_request/url_request_file_job.h
+++ b/net/url_request/url_request_file_job.h
@@ -31,7 +31,8 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob {
public:
URLRequestFileJob(URLRequest* request,
NetworkDelegate* network_delegate,
- const base::FilePath& file_path);
+ const base::FilePath& file_path,
+ const scoped_refptr<base::TaskRunner>& file_task_runner);
akalin 2013/08/16 21:22:20 #include ref_counted.h forward-declare TaskRunner
// URLRequestJob:
virtual void Start() OVERRIDE;
@@ -91,6 +92,7 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob {
scoped_ptr<FileStream> stream_;
FileMetaInfo meta_info_;
+ const scoped_refptr<base::TaskRunner> file_task_runner_;
HttpByteRange byte_range_;
int64 remaining_bytes_;

Powered by Google App Engine
This is Rietveld 408576698