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

Unified Diff: content/child/url_response_body_consumer.h

Issue 2274833002: Teach mojo::Watcher in URLResponseBodyConsumer the correct task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/url_response_body_consumer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/url_response_body_consumer.h
diff --git a/content/child/url_response_body_consumer.h b/content/child/url_response_body_consumer.h
index f7fb232745d1e396845518d5b494a24ab2505e31..5dfc89ab549e3e219c039955fd8bf1e8a5e3a99c 100644
--- a/content/child/url_response_body_consumer.h
+++ b/content/child/url_response_body_consumer.h
@@ -31,10 +31,11 @@ class CONTENT_EXPORT URLResponseBodyConsumer final
: public base::RefCounted<URLResponseBodyConsumer>,
public base::SupportsWeakPtr<URLResponseBodyConsumer> {
public:
- URLResponseBodyConsumer(int request_id,
- ResourceDispatcher* resource_dispatcher,
- mojo::ScopedDataPipeConsumerHandle handle,
- base::SingleThreadTaskRunner* task_runner);
+ URLResponseBodyConsumer(
+ int request_id,
+ ResourceDispatcher* resource_dispatcher,
+ mojo::ScopedDataPipeConsumerHandle handle,
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner);
// Sets the completion status. The completion status is dispatched to the
// ResourceDispatcher when the both following conditions hold:
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/url_response_body_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698