Start to update UrlRequestContextGetter
This commit is contained in:
parent
18a75b5124
commit
6517dffa04
2 changed files with 13 additions and 1 deletions
|
@ -104,8 +104,16 @@ bool URLRequestContextGetter::DelegateURLSecurityManager::CanDelegate
|
|||
return delegate_->CanDelegateURLSecurity(auth_origin);
|
||||
}
|
||||
|
||||
void URLRequestContextGetter::DelegateURLSecurityManager::SetDefaultWhitelist(
|
||||
scoped_ptr<net::HttpAuthFilter> whitelist_default) {
|
||||
}
|
||||
|
||||
void URLRequestContextGetter::DelegateURLSecurityManager::SetDelegateWhitelist(
|
||||
scoped_ptr<net::HttpAuthFilter> whitelist_delegate) {
|
||||
}
|
||||
|
||||
URLRequestContextGetter::Delegate::Delegate() :
|
||||
orig_url_sec_mgr_(net::URLSecurityManager::Create(NULL, NULL)) {}
|
||||
orig_url_sec_mgr_(net::URLSecurityManager::Create()) {}
|
||||
|
||||
std::string URLRequestContextGetter::Delegate::GetUserAgent() {
|
||||
return base::EmptyString();
|
||||
|
|
|
@ -59,6 +59,10 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
|||
|
||||
bool CanUseDefaultCredentials(const GURL& auth_origin) const override;
|
||||
bool CanDelegate(const GURL& auth_origin) const override;
|
||||
void SetDefaultWhitelist(
|
||||
scoped_ptr<net::HttpAuthFilter> whitelist_default) override;
|
||||
void SetDelegateWhitelist(
|
||||
scoped_ptr<net::HttpAuthFilter> whitelist_delegate) override;
|
||||
|
||||
private:
|
||||
URLRequestContextGetter::Delegate* delegate_;
|
||||
|
|
Loading…
Reference in a new issue