Commit 9f3353ab authored by Lily Chen's avatar Lily Chen Committed by Commit Bot

Don't serve unnecessary files on test servers in url_request_unittest.cc

This CL cleans up many calls to
  EmbeddedTestServer::AddDefaultHandlers(const base::FilePath&)
in //net/url_request/url_request_unittest.cc, where the test only needed
to add the default request handlers and did not need to serve files from
a given directory.

These are replaced with calls to
  test_server::RegisterDefaultHandlers(EmbeddedTestServer*)

Bug: 833625
Change-Id: I6d9128ce58510d5d5674dc5e4d084dd768828ac4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209409Reviewed-by: default avatarNick Harper <nharper@chromium.org>
Commit-Queue: Lily Chen <chlily@chromium.org>
Cr-Commit-Position: refs/heads/master@{#770324}
parent 821c5f7a
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment