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
@@ -25,10 +25,6 @@ class WebString;
|
||||
class WebURLRequest;
|
||||
class WebURLResponse;
|
||||
class WebView;
|
||||
|
||||
namespace scheduler {
|
||||
class WebResourceLoadingTaskRunnerHandle;
|
||||
}
|
||||
} // namespace blink
|
||||
|
||||
namespace blink_glue {
|
||||
@@ -128,15 +124,6 @@ BLINK_EXPORT bool HasPluginFrameOwner(blink::WebLocalFrame* frame);
|
||||
BLINK_EXPORT void StartNavigation(blink::WebLocalFrame* frame,
|
||||
const blink::WebURLRequest& request);
|
||||
|
||||
// Used by CefFrameImpl::CreateURLLoader.
|
||||
BLINK_EXPORT
|
||||
std::unique_ptr<blink::scheduler::WebResourceLoadingTaskRunnerHandle>
|
||||
CreateResourceLoadingTaskRunnerHandle(blink::WebLocalFrame* frame);
|
||||
BLINK_EXPORT
|
||||
std::unique_ptr<blink::scheduler::WebResourceLoadingTaskRunnerHandle>
|
||||
CreateResourceLoadingMaybeUnfreezableTaskRunnerHandle(
|
||||
blink::WebLocalFrame* frame);
|
||||
|
||||
} // namespace blink_glue
|
||||
|
||||
#endif // CEF_LIBCEF_RENDERER_BLINK_GLUE_H_
|
||||
|
Reference in New Issue
Block a user