Create a new URLSecurityManager that allows explicit settings
This commit is contained in:
parent
859ef0b298
commit
73a60ea3e3
2 changed files with 25 additions and 0 deletions
|
@ -84,6 +84,16 @@ const char kProxyPacUrl[] = "proxy-pac-url";
|
|||
|
||||
} // namespace
|
||||
|
||||
ExplicitURLSecurityManager::ExplicitURLSecurityManager() : allow_default_creds_(false) {}
|
||||
|
||||
bool ExplicitURLSecurityManager::CanUseDefaultCredentials(const GURL& auth_origin) const {
|
||||
return allow_default_creds_;
|
||||
}
|
||||
|
||||
bool ExplicitURLSecurityManager::CanDelegate(const GURL& auth_origin) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string URLRequestContextGetter::Delegate::GetUserAgent() {
|
||||
return base::EmptyString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue