Implement USB connection events through the WebUSB client interface.

This patch adds an observer to WebUSBClient so that the embeder can
provide device connect and disconnect events. This interface is then
used to dispatch these events.

WebUSBClient::setObserver can be made a pure virtual function once
Chrome's WebUSBClientImpl implements it.

BUG=492204

Review URL: https://codereview.chromium.org/1340523004

git-svn-id: svn://svn.chromium.org/blink/trunk@202309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: ca62ab45580459274359b1f85a52e881a2ffbf03
  1. third_party/