| 147 | }; |
| 148 | |
| 149 | struct RiotClientSchemeHandlerFactory : CefRefCount<cef_scheme_handler_factory_t> |
| 150 | { |
| 151 | RiotClientSchemeHandlerFactory() : CefRefCount(this) |
| 152 | { |
| 153 | cef_scheme_handler_factory_t::create = create; |
| 154 | } |
| 155 | |
| 156 | static cef_resource_handler_t *CEF_CALLBACK create( |
| 157 | struct _cef_scheme_handler_factory_t *self, |
| 158 | struct _cef_browser_t *browser, |
| 159 | struct _cef_frame_t *frame, |
| 160 | const cef_string_t *scheme_name, |
| 161 | struct _cef_request_t *request) |
| 162 | { |
| 163 | return new RiotClientResourceHandler(frame); |
| 164 | } |
| 165 | }; |
| 166 | |
| 167 | void browser::register_riotclient_domain(cef_request_context_t *ctx) |
| 168 | { |
nothing calls this directly
no outgoing calls
no test coverage detected