feat: add fileSystem to ses.setPermissionCheckHandler (#48327)

feat: add fileSystem to ses.setPermissionCheckHandler

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2025-09-24 13:10:33 -04:00 committed by GitHub
commit cf9d0448be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 325 additions and 22 deletions

View file

@ -82,6 +82,9 @@ class ElectronPermissionManager : public content::PermissionControllerDelegate {
void SetProtectedUSBHandler(const ProtectedUSBHandler& handler);
void SetBluetoothPairingHandler(const BluetoothPairingHandler& handler);
bool HasPermissionRequestHandler() const;
bool HasPermissionCheckHandler() const;
void CheckBluetoothDevicePair(gin_helper::Dictionary details,
PairCallback pair_callback) const;