mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision ad51088c (#444943)
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefSchemeRegistrarCToCpp::AddCustomScheme(const CefString& scheme_name,
|
||||
bool is_standard, bool is_local, bool is_display_isolated) {
|
||||
bool is_standard, bool is_local, bool is_display_isolated, bool is_secure,
|
||||
bool is_cors_enabled) {
|
||||
cef_scheme_registrar_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_custom_scheme))
|
||||
return false;
|
||||
@@ -33,7 +34,9 @@ bool CefSchemeRegistrarCToCpp::AddCustomScheme(const CefString& scheme_name,
|
||||
scheme_name.GetStruct(),
|
||||
is_standard,
|
||||
is_local,
|
||||
is_display_isolated);
|
||||
is_display_isolated,
|
||||
is_secure,
|
||||
is_cors_enabled);
|
||||
|
||||
// Return type: bool
|
||||
return _retval?true:false;
|
||||
|
@@ -32,7 +32,8 @@ class CefSchemeRegistrarCToCpp
|
||||
|
||||
// CefSchemeRegistrar methods.
|
||||
bool AddCustomScheme(const CefString& scheme_name, bool is_standard,
|
||||
bool is_local, bool is_display_isolated) OVERRIDE;
|
||||
bool is_local, bool is_display_isolated, bool is_secure,
|
||||
bool is_cors_enabled) OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_SCHEME_REGISTRAR_CTOCPP_H_
|
||||
|
Reference in New Issue
Block a user