Chromium Code Reviews| Index: content/browser/loader/resource_dispatcher_host_impl.h |
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
| index a8fff5e60853cdbb913a7f5cda7ca5afe5e4509f..f9046ea05968bca38968300962f64599a08159d0 100644 |
| --- a/content/browser/loader/resource_dispatcher_host_impl.h |
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h |
| @@ -342,6 +342,11 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
| // of |request_id_| for the details. Must be called on the IO thread. |
| int MakeRequestID(); |
| + // Cancels a request as requested by a renderer. |
| + // Note that this cancel is subtly different from the other CancelRequest |
| + // methods in this file, which also tear down the loader. |
|
kinuko
2016/11/16 03:00:34
nit: might be good to also note that this is calle
yhirano
2016/11/16 03:13:10
Done.
|
| + void CancelRequestFromRenderer(GlobalRequestID request_id); |
| + |
| private: |
| friend class ResourceDispatcherHostTest; |