#include "net/http/http_auth_preferences.h"
#include <utility>
#include "base/strings/string_split.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "net/http/http_auth_filter.h"
#include "net/http/url_security_manager.h"
namespace net {
HttpAuthPreferences::HttpAuthPreferences()
: … { … }
HttpAuthPreferences::~HttpAuthPreferences() = default;
bool HttpAuthPreferences::NegotiateDisableCnameLookup() const { … }
bool HttpAuthPreferences::NegotiateEnablePort() const { … }
#if BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
bool HttpAuthPreferences::NtlmV2Enabled() const { … }
#endif
#if BUILDFLAG(IS_ANDROID)
std::string HttpAuthPreferences::AuthAndroidNegotiateAccountType() const {
return auth_android_negotiate_account_type_;
}
#endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
bool HttpAuthPreferences::AllowGssapiLibraryLoad() const { … }
#endif
bool HttpAuthPreferences::CanUseDefaultCredentials(
const url::SchemeHostPort& auth_scheme_host_port) const { … }
DelegationType;
DelegationType HttpAuthPreferences::GetDelegationType(
const url::SchemeHostPort& auth_scheme_host_port) const { … }
void HttpAuthPreferences::SetAllowDefaultCredentials(DefaultCredentials creds) { … }
bool HttpAuthPreferences::IsAllowedToUseAllHttpAuthSchemes(
const url::SchemeHostPort& scheme_host_port) const { … }
void HttpAuthPreferences::SetServerAllowlist(
const std::string& server_allowlist) { … }
void HttpAuthPreferences::SetDelegateAllowlist(
const std::string& delegate_allowlist) { … }
}