//device/fido: check for Touch ID in isUVPAA()

This updates the implementation of
isUserVerifyingPlatformAuthenticatorAvailable to call
TouchIdAuthenticator::IsAvailable on macOS >10.12.2. The method returns
true on supported hardware if Touch ID is available and enrolled.

Also move the __builtin_available guards checking for a minimum macOS
version *inside* the TouchIdAuthenticator class to make the interface
less clunky.

Bug: 803842, 678128
Change-Id: Iea2600767b872660debf7d5a807e13f99132d4ec
Reviewed-on: https://chromium-review.googlesource.com/1112800
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570515}
8 files changed