Add timeout task to U2F HID state machine

Desktop / Chromium - piperc [chromium.org] - 17 April 2017 20:13 EDT

Setup timeout tasks for any calls to HID layer. If a particular device hangs or the OS does not respond in a timely manner, continue trying other devices.

BUG=697282

Review-Url: https://codereview.chromium.org/2824803003 Cr-Commit-Position: refs/heads/master@{#465072}

bdce3ee Add timeout task to U2F HID state machine
device/u2f/u2f_device.h | 2 +-
device/u2f/u2f_hid_device.cc | 38 ++++++++++++++++++++++++++++++++++++--
device/u2f/u2f_hid_device.h | 8 +++++++-
3 files changed, 44 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share