mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Replace AddCustomScheme bool arguments with int using bit flags
This commit is contained in:
committed by
Marshall Greenblatt
parent
ba8b4e8b9d
commit
c72d57aa60
@ -11,8 +11,8 @@ namespace scheme_test {
|
||||
|
||||
void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar,
|
||||
std::vector<CefString>& cookiable_schemes) {
|
||||
registrar->AddCustomScheme("client", true, false, false, false, true, false,
|
||||
false);
|
||||
registrar->AddCustomScheme(
|
||||
"client", CEF_SCHEME_OPTION_STANDARD | CEF_SCHEME_OPTION_CORS_ENABLED);
|
||||
}
|
||||
|
||||
} // namespace scheme_test
|
||||
|
Reference in New Issue
Block a user