Remove obsolete GenericURLRequestJob request interception

Desktop / Chromium - Alex Clarke [chromium.org] - 9 August 2017 05:03 EDT

DevTools request interception should be used instead. Also we refactor URLFetcher::StartFetch to pass in the headless:Request which is superior if you don't want to deal with a very large post.

Bug: Change-Id: I2361baebaea60e3c50617b652f46ebfe4babe172 Reviewed-on: https://chromium-review.googlesource.com/606327 Commit-Queue: Alex Clarke

5d05f22 Remove obsolete GenericURLRequestJob request interception
headless/lib/frame_id_browsertest.cc | 38 ++--
.../util/deterministic_http_protocol_handler.cc | 5 -
headless/public/util/generic_url_request_job.cc | 83 +-------
headless/public/util/generic_url_request_job.h | 60 +-----
.../public/util/generic_url_request_job_test.cc | 235 ++++-----------------
headless/public/util/http_url_fetcher.cc | 13 +-
headless/public/util/http_url_fetcher.h | 5 +-
.../util/testing/generic_url_request_mocks.cc | 22 --
.../util/testing/generic_url_request_mocks.h | 8 -
headless/public/util/url_fetcher.h | 7 +-
10 files changed, 82 insertions(+), 394 deletions(-)

Upstream: git.chromium.org


  • Share