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

Unified Diff: content/child/url_response_body_consumer.h

Issue 2459483002: [Mojo-Loading] Dispatch body data after response is received (Closed)
Patch Set: fix Created 4 years, 1 month 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: 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 5dfc89ab549e3e219c039955fd8bf1e8a5e3a99c..13e122d20c2124764695ced649ab53221c4b5b44 100644
--- a/content/child/url_response_body_consumer.h
+++ b/content/child/url_response_body_consumer.h
@@ -37,6 +37,9 @@ class CONTENT_EXPORT URLResponseBodyConsumer final
mojo::ScopedDataPipeConsumerHandle handle,
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ // Starts watching the handle.
+ void Start(base::SingleThreadTaskRunner* task_runner);
+
// Sets the completion status. The completion status is dispatched to the
// ResourceDispatcher when the both following conditions hold:
// 1) This function has been called and the completion status is set, and

Powered by Google App Engine
This is Rietveld 408576698