• Nate Fischer's avatar
    AW: fix cache settings for network service · a0f755db
    Nate Fischer authored
    This connects the cache settings from AwSettings to the network service
    code path, which fixes 2 related tests.
    
    This creates the net_helpers file to share common logic between both the
    network service and legacy code paths. Right now, this only contains
    WebView's logic to translate WebView cache settings into net layer
    load_flags.
    
    Bug: 904890
    Bug: 893573
    Bug: 893574
    Test: run_webview_instrumentation_test_apk \
    Test: --enable-features=NetworkService,NetworkServiceInProcess \
    Test: -f=ClientOnReceivedError*Test#test*CacheMiss
    Cq-Include-Trybots: master.tryserver.chromium.android:android_mojo
    Change-Id: Ic2d62dfedd5f0c1ddfa04469454aea7d43df9373
    Reviewed-on: https://chromium-review.googlesource.com/c/1339720Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
    Reviewed-by: default avatarTim Volodine <timvolodine@chromium.org>
    Commit-Queue: Nate Fischer <ntfschr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609875}
    a0f755db
net_helpers.h 557 Bytes