• rbpotter's avatar
    Print Preview: Move user account management out of destination-settings · bfe56a30
    rbpotter authored
    Rename print-preview-user-info to print-preview-user-manager and move
    management of user account state to print-preview-user-manager,
    instead of sharing this responsibility between user-info and
    print-preview-destination-settings.
    
    Remove cloudPrintState in favor of checking the activeUser and
    a single cloudPrintDisabled boolean.
    
    Finally, send user account updates from PrintPreviewHandler, instead
    of just sending reload-print-destinations event.
    
    This should not change any user visible behavior.
    
    Bug: 958767
    Change-Id: I4ff2545f78b35537a8cc54a8a11bf0c5aed9ae07
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628330
    Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
    Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#664533}
    bfe56a30
destination_select.js 2.57 KB