• Miriam Gershenson's avatar
    Fix Cronet load flag initialization · 5b7eb518
    Miriam Gershenson authored
    Load flags were being read from the CronetURLRequestContextAdapter
    on the main thread, which could potentially happen before they were
    initialized on the network thread if a UrlRequest is created immediately
    after the CronetEngine. Now they are read at request start time on the
    network thread, which must be after context initialization.
    
    BUG=743232
    
    Change-Id: I3f9c5cd1cde906555c5ba68b4a45a9a3ee71b014
    Reviewed-on: https://chromium-review.googlesource.com/574827Reviewed-by: default avatarPaul Jensen <pauljensen@chromium.org>
    Commit-Queue: Miriam Gershenson <mgersh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#487227}
    5b7eb518
cronet_url_request_context_adapter.h 10.4 KB