DescriptionRemove a host_resolver()->ClearRules call in a test body and replace it with an AddRule call that happens in SetUpOnMainThread.
This allows us to enforce that mock host resolver isn't modified in a test body.
BUG=713847
Review-Url: https://codereview.chromium.org/2854693002
Cr-Commit-Position: refs/heads/master@{#468479}
Committed: https://chromium.googlesource.com/chromium/src/+/dd5f1e9961edb89b0df27420a76ed3fcc5703424
Patch Set 1 #
Messages
Total messages: 15 (11 generated)
|