From 0cbc0a757ea11655f61ba4b8a93a9aa9b172a638 Mon Sep 17 00:00:00 2001 From: Aviv Duek Date: Wed, 22 Sep 2021 11:07:55 +0000 Subject: [PATCH] Add two missing resource types to cef_resource_type_t enum --- include/internal/cef_types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/internal/cef_types.h b/include/internal/cef_types.h index 32868c06b..df593e314 100644 --- a/include/internal/cef_types.h +++ b/include/internal/cef_types.h @@ -1159,6 +1159,16 @@ typedef enum { // A resource that a plugin requested. /// RT_PLUGIN_RESOURCE, + + /// + // A main-frame service worker navigation preload request. + /// + RT_NAVIGATION_PRELOAD_MAIN_FRAME = 19, + + /// + // A sub-frame service worker navigation preload request. + /// + RT_NAVIGATION_PRELOAD_SUB_FRAME, } cef_resource_type_t; ///