1 // Copyright 2011 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/http/mock_allow_http_auth_preferences.h" 6 #include "build/build_config.h" 7 8 namespace net { 9 10 MockAllowHttpAuthPreferences::MockAllowHttpAuthPreferences() = default; 11 12 MockAllowHttpAuthPreferences::~MockAllowHttpAuthPreferences() = default; 13 CanUseDefaultCredentials(const url::SchemeHostPort & auth_scheme_host_port) const14bool MockAllowHttpAuthPreferences::CanUseDefaultCredentials( 15 const url::SchemeHostPort& auth_scheme_host_port) const { 16 return true; 17 } 18 GetDelegationType(const url::SchemeHostPort & auth_scheme_host_port) const19HttpAuth::DelegationType MockAllowHttpAuthPreferences::GetDelegationType( 20 const url::SchemeHostPort& auth_scheme_host_port) const { 21 return HttpAuth::DelegationType::kUnconstrained; 22 } 23 24 } // namespace net 25