mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add option to enable fetch support for custom schemes (issue #2579)
This commit is contained in:
committed by
Marshall Greenblatt
parent
667d190547
commit
a72e00a7b9
@ -137,6 +137,8 @@ class CefSchemeRegistrar : public CefBaseScoped {
|
||||
// (CSP) checks. This value should be false in most cases where |is_standard|
|
||||
// is true.
|
||||
//
|
||||
// If |is_fetch_enabled| is true the scheme can perform Fetch API requests.
|
||||
//
|
||||
// This function may be called on any thread. It should only be called once
|
||||
// per unique |scheme_name| value. If |scheme_name| is already registered or
|
||||
// if an error occurs this method will return false.
|
||||
@ -148,7 +150,8 @@ class CefSchemeRegistrar : public CefBaseScoped {
|
||||
bool is_display_isolated,
|
||||
bool is_secure,
|
||||
bool is_cors_enabled,
|
||||
bool is_csp_bypassing) = 0;
|
||||
bool is_csp_bypassing,
|
||||
bool is_fetch_enabled) = 0;
|
||||
};
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user