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

Unified Diff: net/url_request/url_request_simple_job.h

Issue 2679583004: Use TaskScheduler instead of WorkerPool in url_request_simple_job.cc. (Closed)
Patch Set: separate thread comment Created 3 years, 10 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_simple_job.h
diff --git a/net/url_request/url_request_simple_job.h b/net/url_request/url_request_simple_job.h
index 14f92a9a0b0f07c5cb6cc50a594b07d511c690bc..1b5938456e77123726c7c8eca08c31a6d251109e 100644
--- a/net/url_request/url_request_simple_job.h
+++ b/net/url_request/url_request_simple_job.h
@@ -60,10 +60,6 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob {
scoped_refptr<base::RefCountedMemory>* data,
const CompletionCallback& callback) const;
- // Returns the task runner used by ReadRawData. This method is virtual so
- // that it can be overridden in tests.
- virtual base::TaskRunner* GetTaskRunner() const;
-
void StartAsync();
private:
@@ -74,7 +70,6 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob {
std::string charset_;
scoped_refptr<base::RefCountedMemory> data_;
int64_t next_data_offset_;
- scoped_refptr<base::TaskRunner> task_runner_;
base::WeakPtrFactory<URLRequestSimpleJob> weak_factory_;
};
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | net/url_request/url_request_simple_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698