• Clark DuVall's avatar
    Fix WebApkIntegrationTests with network service on Android · c813923e
    Clark DuVall authored
    These tests use MockCertVerifier, but due to the way WebApk activities
    are launched, the setup is done before the network process is created,
    and it would be very complicated to try to insert the MockCertVerifier
    setup between when the network process is created and when the WebApk is
    launched. Allowing the default_result for the MockCertVerifier to be set
    with a flag lets the network process pick up the value when it gets
    created.
    
    Bug: 917467
    Change-Id: I694247a189eacb5b4a290b9f78c9b6d60b689441
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635198Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
    Commit-Queue: Clark DuVall <cduvall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#664333}
    c813923e
content_mock_cert_verifier.cc 4.16 KB