feat: support Web Serial & WebUSB blocklists (#46600)
This commit is contained in:
parent
352a403efd
commit
a29e1170b9
10 changed files with 106 additions and 4 deletions
|
@ -36,6 +36,8 @@ namespace electron {
|
|||
|
||||
class ElectronBrowserContext;
|
||||
|
||||
const char kDisableSerialBlocklist[] = "disable-serial-blocklist";
|
||||
|
||||
inline constexpr std::string_view kPortNameKey = "name";
|
||||
inline constexpr std::string_view kTokenKey = "token";
|
||||
inline constexpr std::string_view kBluetoothDevicePathKey =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue