Include policy USB devices in GetAllGrantedObjects

This change updates the GetAllGrantedObjects() method of
UsbChooserContext to include the USB objects granted by the
WebUsbAllowDevicesForUrls policy. The GetAllGrantedObjects() method
removes user granted objects that are also granted permission by the

SiteSettingsHelper was modified to skip the policy objects until the UI
is ready to display them.

Design Doc:

Bug: 854329
Change-Id: I8442f588b0d7029062c67bbb2896cefeb558a887
Commit-Queue: Ovidio Henriquez <>
Reviewed-by: Dave Schuyler <>
Reviewed-by: Theresa <>
Reviewed-by: Reilly Grant <>
Cr-Commit-Position: refs/heads/master@{#609479}
6 files changed