• Regan Hsu's avatar
    [CrOS PhoneHub] Add the MultideviceSetupStateUpdater · 25f747b7
    Regan Hsu authored
    This class enables the PhoneHub Multidevice feature state when the
    HostStatus (provided by the MultideviceSetupClient) of the phone is
    initially |kHostSetLocallyButWaitingForBackendConfirmation|, and becomes
    either 1) |kHostVerified|, or 2) becomes |kHostSetButNotYetVerified|
    first, and then later |kHostVerified|. This class also disables the
    PhoneHubNotification Multidevice feature state when Notification
    access has been revoked by the phone, provided via
    NotificationAccessManager.
    
    Bug: 1106938
    Change-Id: I01435323b3a3b8ec886ab32de0ba324b9473d2a4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2468265
    Commit-Queue: Regan Hsu <hsuregan@chromium.org>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#817313}
    25f747b7
phone_hub_manager_impl.cc 6.58 KB