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
@@ -27,8 +27,6 @@ class ListValue;
|
||||
namespace blink {
|
||||
class ResourceLoadInfoNotifierWrapper;
|
||||
class WebLocalFrame;
|
||||
class WebURLLoader;
|
||||
class WebURLLoaderFactory;
|
||||
} // namespace blink
|
||||
|
||||
class GURL;
|
||||
@@ -84,11 +82,6 @@ class CefFrameImpl
|
||||
void SendProcessMessage(CefProcessId target_process,
|
||||
CefRefPtr<CefProcessMessage> message) override;
|
||||
|
||||
// Used by CefRenderURLRequest.
|
||||
std::unique_ptr<blink::WebURLLoader> CreateURLLoader();
|
||||
std::unique_ptr<blink::ResourceLoadInfoNotifierWrapper>
|
||||
CreateResourceLoadInfoNotifierWrapper();
|
||||
|
||||
// Forwarded from CefRenderFrameObserver.
|
||||
void OnAttached();
|
||||
void OnWasShown();
|
||||
@@ -197,8 +190,6 @@ class CefFrameImpl
|
||||
std::queue<std::pair<std::string, BrowserFrameAction>>
|
||||
queued_browser_actions_;
|
||||
|
||||
std::unique_ptr<blink::WebURLLoaderFactory> url_loader_factory_;
|
||||
|
||||
mojo::Receiver<cef::mojom::RenderFrame> receiver_{this};
|
||||
|
||||
mojo::Remote<cef::mojom::BrowserFrame> browser_frame_;
|
||||
|
Reference in New Issue
Block a user