1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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/base/auth.h" 6 7 namespace net { 8 9 AuthChallengeInfo::AuthChallengeInfo() : is_proxy(false) { 10 } 11 12 bool AuthChallengeInfo::operator==(const AuthChallengeInfo& that) const { 13 return (this->is_proxy == that.is_proxy && 14 this->host_and_port == that.host_and_port && 15 this->scheme == that.scheme && 16 this->realm == that.realm); 17 } 18 19 AuthChallengeInfo::~AuthChallengeInfo() { 20 } 21 22 AuthData::AuthData() : state(AUTH_STATE_NEED_AUTH) { 23 } 24 25 AuthData::~AuthData() { 26 } 27 28 } // namespace net 29