• Tsuyoshi Horo's avatar
    Set the throttling_profile_id of the signed exchange certificate requests. · b8d38118
    Tsuyoshi Horo authored
    This CL copies the throttling_profile_id of the original signed exchange request
    to the certificate request, so that we can throttles the certificate requests
    using DevTools.
    
    The throttling_profile_id is copied in this flow.
      Navigation case:
        NavigationURLLoaderImpl::URLLoaderRequestController
        => SignedExchangeRequestHandler
        => SignedExchangeLoader
        => SignedExchangeCertFetcherFactory::Create()
        => SignedExchangeCertFetcherFactoryImpl
        => SignedExchangeCertFetcher::CreateAndStart()
        => SignedExchangeCertFetcher
        => network::ResourceRequest
    
      Prefetch case:
        PrefetchURLLoader::PrefetchURLLoader()
        => SignedExchangePrefetchHandler
        => SignedExchangeLoader
        => ... same as navigation case...
    
    Bug: 849966
    Change-Id: I443af86ca6a465a68e9f4c804d4cd9a9bac12227
    Reviewed-on: https://chromium-review.googlesource.com/1088343Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
    Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#568388}
    b8d38118
signed_exchange_cert_fetcher.h 4.67 KB