[DeviceSync v2] Add CryptAuthV2DeviceManager
Adds the abstract base class CryptAuthV2DeviceManager as well as a skeleton implementation, CryptAuthV2DeviceManagerImpl. These are top-level classes that coordinate CryptAuth v2 DeviceSync requests and local data storage between the CryptAuthScheduler, CryptAuthDeviceRegistry, CryptAuthKeyRegistry, and CryptAuthGCMManager. They also provide a top-level API for retrieving synced devices, forcing v2 DeviceSyncs, and accessing v2 DeviceSync request data such as last success time. The actual logic needed to perform the CryptAuth v2 DeviceSync flow will be delegated to a CryptAuthDeviceSyncer class that is not yet implemented. This class will operate in parallel with its CryptAuth v1 DeviceSync analog, CryptAuthDeviceManager. The CryptAuth v2 Enrollment analog is CryptAuthV2EnrollmentManagerImpl. Bug: 951969 Change-Id: I033c9f14102573cd3e057938b28882aa2edba12c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638351 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#667283}
Showing
Please register or sign in to comment