• Kyle Horimoto's avatar
    [CrOS MultiDevice] Refactor two CryptAuth classes. · 64fd4659
    Kyle Horimoto authored
    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: default avatarRyan Hansberry <hansberry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551798}
    64fd4659
cryptauth_device_manager_impl.cc 22.7 KB