[CrOS Multidevice] Create DeviceCapabilityManager, which manages a devices's capabilities

Desktop / Chromium - Regan Hsu [google.com] - 9 August 2017 02:49 EDT

This class is an agent that can turn on capabilities and retrieve lists of devices with certain capabilities on behalf of authorized devices.

Bug: 752273 Change-Id: I5fafdf6465bcb0dff663a489f78c89d1d16f73ba Reviewed-on: https://chromium-review.googlesource.com/585888 Commit-Queue: Kyle Horimoto

3c00608 [CrOS Multidevice] Create DeviceCapabilityManager, which manages a devices's capabilities.
components/cryptauth/BUILD.gn | 3 +
components/cryptauth/device_capability_manager.cc | 214 +++++++++++
components/cryptauth/device_capability_manager.h | 143 +++++++
.../device_capability_manager_unittest.cc | 417 +++++++++++++++++++++
4 files changed, 777 insertions(+)

Upstream: git.chromium.org


  • Share