• David Van Cleve's avatar
    Trust Tokens: Finish up //content wiring for local trust token issuance · 2538ed2a
    David Van Cleve authored
    We've now landed code that
    (1) Adds a generic //content-to-embedder API for requesting Trust Tokens
    issuance satisfied by on-device providers like system services
    (2) Expands the network service code responsible for the general Trust
    Tokens protocol flow to handle cases where issuance operations get
    delegated to on-device providers via NetworkContextClient
    
    This CL wires StoragePartitionImpl to bind a Mojo remote that can talk
    to the //content-to-embedder API (1), so that it can do something useful
    when it receives requests from the network service in step (2), rather
    than its current behavior of always failing the requests it receives.
    
    Test: Adds unit tests covering the new StoragePartitionImpl logic
    Change-Id: Iecd48e51ac827534fcac3073f0ce22bef4b2d8b4
    Fixed: 1130273
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2493540
    Commit-Queue: David Van Cleve <davidvc@chromium.org>
    Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#832564}
    2538ed2a
storage_partition_impl.cc 99.9 KB