| 393 | } |
| 394 | |
| 395 | static Result PreloadHintInternal(HPreloader preloader, TRequestIndex parent, const char* name) |
| 396 | { |
| 397 | PathDescriptor path_descriptor; |
| 398 | Result res = MakePathDescriptor(preloader, name, path_descriptor); |
| 399 | if (res != RESULT_OK) |
| 400 | { |
| 401 | return res; |
| 402 | } |
| 403 | res = PreloadPathDescriptor(preloader, parent, path_descriptor); |
| 404 | return res; |
| 405 | } |
| 406 | |
| 407 | // Only supports removing the first child, which is all the preloader uses anyway. |
| 408 | static void PreloaderRemoveLeaf(ResourcePreloader* preloader, TRequestIndex index) |
no test coverage detected