Migrate ProxyBypassRules to SchemeHostPortMatcher in TrustedSourcesManager
The usage of ProxyBypassRules in TrustedSourcesManager isn't appropriate, since ProxyBypassRules was only designed to be used for proxy rules. It implicitly allows rules such as <-loopback> and <local>, which TrustedSourcesManager may not want. With the newly introduced SchemHostPortMatcher, which implements the most ProxyBypassRules has but more general, we can replace the usage of ProxyPypassRules with it for TrustedSourcesManager. Bug: 1030092 Change-Id: Ia0742d589fdbc083e8bbecbd64aacca573b8be91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036368Reviewed-by:David Trainor <dtrainor@chromium.org> Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Cr-Commit-Position: refs/heads/master@{#738649}
Showing
Please register or sign in to comment