| Index: net/http/http_auth_filter.cc
|
| diff --git a/net/http/http_auth_filter.cc b/net/http/http_auth_filter.cc
|
| index 53d81eaab4b094cba14204674d3a254660dc9a0d..c445a79f36b0bccfa7424d3e73ef11590cdc3bfe 100644
|
| --- a/net/http/http_auth_filter.cc
|
| +++ b/net/http/http_auth_filter.cc
|
| @@ -40,14 +40,14 @@ void HttpAuthFilterWhitelist::AddRuleToBypassLocal() {
|
| rules_.AddRuleToBypassLocal();
|
| }
|
|
|
| -bool HttpAuthFilterWhitelist::IsValid(const GURL& url,
|
| +bool HttpAuthFilterWhitelist::IsValid(const url::Origin& origin,
|
| HttpAuth::Target target) const {
|
| if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY))
|
| return false;
|
| // All proxies pass
|
| if (target == HttpAuth::AUTH_PROXY)
|
| return true;
|
| - return rules_.Matches(url);
|
| + return rules_.Matches(GURL(origin.serialize()));
|
| }
|
|
|
| void HttpAuthFilterWhitelist::SetWhitelist(
|
|
|