void WebContents::GrantDevicePermission(
    const url::Origin& origin,
    const base::Value* device,
    content::PermissionType permissionType,
    content::RenderFrameHost* render_frame_host) {
  granted_devices_[render_frame_host->GetFrameTreeNodeId()][permissionType]
                  [origin]
                      .push_back(
                          std::make_unique<base::Value>(device->Clone()));
}
void WebContents::GrantDevicePermission(
    const url::Origin& origin,
    const base::Value* device,
    content::PermissionType permissionType,
    content::RenderFrameHost* render_frame_host) {
  granted_devices_[render_frame_host->GetFrameTreeNodeId()][permissionType]
                  [origin]
                      .push_back(
                          std::make_unique<base::Value>(device->Clone()));
}