DescriptionSeparate USB device permissions prompt logic into subclasses.
This patch moves the specific logic for handling USB devices and
device permissions out of the DevicePermissionsPrompt class and into
a set of subclasses that are hidden in device_permissions_prompt.cc.
This should allow a parallel set of subclasses for handling HID devices
to be added without any more modifications to the base classes.
BUG=457899
Committed: https://crrev.com/03256e5f3b29e4c29c102a289757f773e5a624a7
Cr-Commit-Position: refs/heads/master@{#326697}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : Address jyasskin@'s comments. #
Messages
Total messages: 11 (4 generated)
|