diff --git third_party/blink/public/platform/web_url_loader.h third_party/blink/public/platform/web_url_loader.h index 042a383fe1771..310f25700ebfb 100644 --- third_party/blink/public/platform/web_url_loader.h +++ third_party/blink/public/platform/web_url_loader.h @@ -160,12 +160,14 @@ class BLINK_PLATFORM_EXPORT WebURLLoader { void SetResourceRequestSenderForTesting( std::unique_ptr resource_request_sender); + // Cancels an asynchronous load. This will appear as a load error to + // the client. + void Cancel(); + private: class Context; class RequestPeerImpl; - void Cancel(); - scoped_refptr context_; };