[CrOS MultiDevice] Refactor two CryptAuth classes.
This CL modifies CryptAuthEnrollerImpl and CryptAuthDeviceManagerImpl to take a CryptAuthClientFactory* instead of a std::unique_ptr<CryptAuthClientFactory> in their constructors. It was unnecessary to have each class own its own instance of the factory, and this refactor will help as I add an instance of the factory to the DeviceSync service. Bug: 824568, 752273 Change-Id: Ie3818cb7d81439689e4edb60f6c024f0e5069435 Reviewed-on: https://chromium-review.googlesource.com/1017307 Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#551798}
Showing
Please register or sign in to comment