mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove renderer process CefURLRequest support
The CefFrame::CreateURLRequest method is no longer supported in the renderer process. Usage of this method was already limited to same-origin requests due to renderer process CORS restrictions, and the underlying Blink API has now been removed in https://crbug.com/1413912 (M112+). Existing alternatives include CefURLRequest usage in the browser process, or JavaScript XMLHttpRequest/fetch API usage in the renderer process.
This commit is contained in:
committed by
Marshall Greenblatt
parent
276423dcfb
commit
3c85154faf
@@ -1,21 +0,0 @@
|
||||
diff --git third_party/blink/public/platform/web_url_loader.h third_party/blink/public/platform/web_url_loader.h
|
||||
index 31054cf2795a4..d5082be28ea54 100644
|
||||
--- third_party/blink/public/platform/web_url_loader.h
|
||||
+++ third_party/blink/public/platform/web_url_loader.h
|
||||
@@ -143,12 +143,14 @@ class BLINK_PLATFORM_EXPORT WebURLLoader {
|
||||
void SetResourceRequestSenderForTesting(
|
||||
std::unique_ptr<WebResourceRequestSender> 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> context_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user