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:
parent
99feff3965
commit
cf9d0448be
7 changed files with 325 additions and 22 deletions
|
@ -142,6 +142,14 @@ void ElectronPermissionManager::SetBluetoothPairingHandler(
|
|||
bluetooth_pairing_handler_ = handler;
|
||||
}
|
||||
|
||||
bool ElectronPermissionManager::HasPermissionRequestHandler() const {
|
||||
return !request_handler_.is_null();
|
||||
}
|
||||
|
||||
bool ElectronPermissionManager::HasPermissionCheckHandler() const {
|
||||
return !check_handler_.is_null();
|
||||
}
|
||||
|
||||
void ElectronPermissionManager::RequestPermissionWithDetails(
|
||||
blink::mojom::PermissionDescriptorPtr permission,
|
||||
content::RenderFrameHost* render_frame_host,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue