void ClientAppBrowser::OnRegisterCustomSchemes(
CefRawPtr<CefSchemeRegistrar> registrar) {
registrar->AddCustomScheme("aa", CEF_SCHEME_OPTION_LOCAL |
CEF_SCHEME_OPTION_CORS_ENABLED);
cookieable_schemes_.push_back(kWechatScheme);
}
void ClientAppRenderer::OnRegisterCustomSchemes(
CefRawPtr<CefSchemeRegistrar> registrar) {
registrar->AddCustomScheme(
L"aa", CEF_SCHEME_OPTION_LOCAL | CEF_SCHEME_OPTION_CORS_ENABLED);
}
CefRegisterSchemeHandlerFactory("aa", "bb", new ClientSchemeHandlerFactory());
i add aa to cef custom shceme,and return html data but the window can not access localStorage