2019-07-16 19:59:21 +02:00
|
|
|
diff --git third_party/blink/public/platform/web_url_loader.h third_party/blink/public/platform/web_url_loader.h
|
2023-01-30 18:43:54 +01:00
|
|
|
index 31054cf2795a4..d5082be28ea54 100644
|
2019-07-16 19:59:21 +02:00
|
|
|
--- third_party/blink/public/platform/web_url_loader.h
|
|
|
|
+++ third_party/blink/public/platform/web_url_loader.h
|
2022-11-15 18:50:53 +01:00
|
|
|
@@ -143,12 +143,14 @@ class BLINK_PLATFORM_EXPORT WebURLLoader {
|
2021-03-04 23:36:57 +01:00
|
|
|
void SetResourceRequestSenderForTesting(
|
|
|
|
std::unique_ptr<WebResourceRequestSender> resource_request_sender);
|
2019-07-16 19:59:21 +02:00
|
|
|
|
|
|
|
+ // Cancels an asynchronous load. This will appear as a load error to
|
|
|
|
+ // the client.
|
2021-03-04 23:36:57 +01:00
|
|
|
+ void Cancel();
|
2019-07-16 19:59:21 +02:00
|
|
|
+
|
2021-03-04 23:36:57 +01:00
|
|
|
private:
|
|
|
|
class Context;
|
|
|
|
class RequestPeerImpl;
|
|
|
|
|
|
|
|
- void Cancel();
|
|
|
|
-
|
|
|
|
scoped_refptr<Context> context_;
|
2021-06-04 03:34:56 +02:00
|
|
|
};
|
2021-03-04 23:36:57 +01:00
|
|
|
|