• maksim.sisov's avatar
    Use modifed URLRequest API in net/url_request/url_request · b53724b5
    maksim.sisov authored
    unittests
    
    This cl splits the big CL with changes to net/ folder and
    has changes only to net/cert_net according to the
    changes to URLRequest API.
    
    What the big cl does:
    It modifies net/ clients that use URLRequest API as long as
    URLRequest::Read returns int net errors and
    URLRequest::Delegate and NetworkDelegate methods
    (for example, OnResponseStarted or OnCompleted) have int
    net_error in the arguments now.
    
    The reason behind splitting the CL into small one is that
    an android bot started to be unstable and unittests became
    flaky. It was not possible to locate the problem and the
    decision was to split the CL and upload small parts with a
    6+ hours interval in order to make it possible to locate
    the problematic code.
    
    The big CL is located here -
    https://codereview.chromium.org/2265873002/
    
    BUG=423484
    
    Committed: https://crrev.com/a74d3cbc572fa1c85cc2c0434a9f8e2f9cba0cd9
    Review-Url: https://codereview.chromium.org/2334563002
    Cr-Original-Commit-Position: refs/heads/master@{#418014}
    Cr-Commit-Position: refs/heads/master@{#419106}
    b53724b5
url_request_simple_job_unittest.cc 7.9 KB