Update MimeSniffingResourceHandler tests to use MockResourceLoader.
This will make it easier to land an upcoming ResourceHandler refactor, and also gives us some more ASSERTs shared with other tests. Also add checking of the error code the request is canceled with. Also prevent next ResourceHandler in the chain from being called re-entrantly BUG=659317 Review-Url: https://codereview.chromium.org/2626663002 Cr-Commit-Position: refs/heads/master@{#443360}
Showing
This diff is collapsed.
Please register or sign in to comment