Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: net/http/url_security_manager.cc

Issue 1151843002: DO NOT LAND Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/url_security_manager.cc
diff --git a/net/http/url_security_manager.cc b/net/http/url_security_manager.cc
index 4ff0f654dacfbcb192e1f83cda0e38bf98c1acd1..c88ecbd2e5ce704de0b54a0d2b75dcd86daf4289 100644
--- a/net/http/url_security_manager.cc
+++ b/net/http/url_security_manager.cc
@@ -18,13 +18,14 @@ URLSecurityManagerWhitelist::URLSecurityManagerWhitelist(
URLSecurityManagerWhitelist::~URLSecurityManagerWhitelist() {}
bool URLSecurityManagerWhitelist::CanUseDefaultCredentials(
- const GURL& auth_origin) const {
+ const url::Origin& auth_origin) const {
if (whitelist_default_.get())
return whitelist_default_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
return false;
}
-bool URLSecurityManagerWhitelist::CanDelegate(const GURL& auth_origin) const {
+bool URLSecurityManagerWhitelist::CanDelegate(
+ const url::Origin& auth_origin) const {
if (whitelist_delegate_.get())
return whitelist_delegate_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
return false;

Powered by Google App Engine
This is Rietveld 408576698