• RJ Ascani's avatar
    [Fuchsia] Move CDM data file i/o off main thread · cca7402b
    RJ Ascani authored
    The FuchsiaCdmManager needs to create directories for each origin to
    pass to the platform CDM services to fulfill EME origin isolation
    requirements. The FuchsiaCdmManager runs on the main thread and the
    calls to CreateDirectoryAndGetError are potentially blocking. This CL
    moves the directory creation step to a background task.
    
    Bug: 1140655
    Change-Id: I060edc909976e7b5a493afc3bc9a2a26e26994be
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500532Reviewed-by: default avatarWez <wez@chromium.org>
    Commit-Queue: RJ Ascani <rjascani@google.com>
    Cr-Commit-Position: refs/heads/master@{#821353}
    cca7402b
fuchsia_cdm_manager.cc 10.4 KB