From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: deepak1556 <hop2deep@gmail.com>
Date: Wed, 20 Aug 2025 04:03:11 +0900
Subject: chore: add electron objects to WrappablePointerTag

Extends gin::WrappablePointerTag with tags needed for
electron objects that extend gin::Wrappable and gets
allocated on the cpp heap

diff --git a/gin/public/wrappable_pointer_tags.h b/gin/public/wrappable_pointer_tags.h
index c29e8554933994ff56ccea394af34e17c4e9fc2c..08e19dcbb2fab1e5115ed2dc9eb4dcc2c4c8dfa4 100644
--- a/gin/public/wrappable_pointer_tags.h
+++ b/gin/public/wrappable_pointer_tags.h
@@ -76,7 +76,15 @@ enum WrappablePointerTag : uint16_t {
   kTextInputControllerBindings,  // content::TextInputControllerBindings
   kWebAXObjectProxy,             // content::WebAXObjectProxy
   kWrappedExceptionHandler,      // extensions::WrappedExceptionHandler
-  kLastPointerTag = kWrappedExceptionHandler,
+  kElectronApp,                         // electron::api::App
+  kElectronDebugger,                    // electron::api::Debugger
+  kElectronEvent,                       // gin_helper::internal::Event
+  kElectronMenu,                        // electron::api::Menu
+  kElectronNetLog,                      // electron::api::NetLog
+  kElectronReplyChannel,                // gin_helper::internal::ReplyChannel
+  kElectronSession,                     // electron::api::Session
+  kElectronWebRequest,                  // electron::api::WebRequest
+  kLastPointerTag = kElectronWebRequest,
 };
 
 static_assert(kLastPointerTag <
