2019-07-16 13:59:21 -04:00
|
|
|
diff --git third_party/blink/public/platform/web_url_loader.h third_party/blink/public/platform/web_url_loader.h
|
2022-03-25 21:12:30 -04:00
|
|
|
index 6ba4364c434fa..6400e5b34b65a 100644
|
2019-07-16 13:59:21 -04:00
|
|
|
--- third_party/blink/public/platform/web_url_loader.h
|
|
|
|
+++ third_party/blink/public/platform/web_url_loader.h
|
2022-03-25 21:12:30 -04:00
|
|
|
@@ -153,12 +153,14 @@ class BLINK_PLATFORM_EXPORT WebURLLoader {
|
2021-03-04 17:36:57 -05:00
|
|
|
void SetResourceRequestSenderForTesting(
|
|
|
|
std::unique_ptr<WebResourceRequestSender> resource_request_sender);
|
2019-07-16 13:59:21 -04:00
|
|
|
|
|
|
|
+ // Cancels an asynchronous load. This will appear as a load error to
|
|
|
|
+ // the client.
|
2021-03-04 17:36:57 -05:00
|
|
|
+ void Cancel();
|
2019-07-16 13:59:21 -04:00
|
|
|
+
|
2021-03-04 17:36:57 -05:00
|
|
|
private:
|
|
|
|
class Context;
|
|
|
|
class RequestPeerImpl;
|
|
|
|
|
|
|
|
- void Cancel();
|
|
|
|
-
|
|
|
|
scoped_refptr<Context> context_;
|
2021-06-03 21:34:56 -04:00
|
|
|
};
|
2021-03-04 17:36:57 -05:00
|
|
|
|