Cleanup dead code in GCM's mcs_probe command-line utility
MCSProbe was refactored in r567674 to use Mojo, rather than interacting directly with //net APIs. However, as part of the refactor, many of the objects used to initialize the HttpNetworkSession became unused in the Mojo URLRequestContext. This restores the intended behaviour - namely, that the command-line can control whether a NetLog is generated, as well as whether certificate errors are ignored. In the process of cleaning up this code, it was the last remaining caller of ProxyResolutionService::CreateDirectWithNetLog(). However, because it was always using DIRECT, supplying the NetLog was unnecessary, and CreateDirect() works just as well. Fix the call site and remove the (now dead) ProxyResolutionService API. Bug: none Change-Id: I126b60db94c4f486eed9bfd2af3ba2971e34a4fd Reviewed-on: https://chromium-review.googlesource.com/1169826 Commit-Queue: Ryan Sleevi <rsleevi@chromium.org> Reviewed-by:Helen Li <xunjieli@chromium.org> Reviewed-by:
Nicolas Zea <zea@chromium.org> Cr-Commit-Position: refs/heads/master@{#582511}
Showing
Please register or sign in to comment