| 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 b35abc88d2f18f0ca1a754f34d8537903d724a2a..366609bbbe28e5106f6570fac0dc9c4d194d435e 100644
|
| --- a/content/child/url_response_body_consumer.h
|
| +++ b/content/child/url_response_body_consumer.h
|
| @@ -51,6 +51,10 @@ class CONTENT_EXPORT URLResponseBodyConsumer final
|
| void SetDefersLoading();
|
| void UnsetDefersLoading();
|
|
|
| + // The maximal number of bytes consumed in a task. When there are more bytes
|
| + // in the data pipe, they will be consumed in following tasks.
|
| + static constexpr uint32_t kMaxNumConsumedBytesInTask = 64 * 1024;
|
| +
|
| private:
|
| friend class base::RefCounted<URLResponseBodyConsumer>;
|
| ~URLResponseBodyConsumer();
|
|
|