| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/base/auth.h" | 5 #include "net/base/auth.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 AuthChallengeInfo::AuthChallengeInfo() : is_proxy(false) { | 9 AuthChallengeInfo::AuthChallengeInfo() : is_proxy(false) { |
| 10 } | 10 } |
| 11 | 11 |
| 12 bool AuthChallengeInfo::Equals(const AuthChallengeInfo& that) const { | 12 bool AuthChallengeInfo::Equals(const AuthChallengeInfo& that) const { |
| 13 return (this->is_proxy == that.is_proxy && | 13 return (this->is_proxy == that.is_proxy && |
| 14 this->challenger.Equals(that.challenger) && | 14 this->challenger.Equals(that.challenger) && |
| 15 this->scheme == that.scheme && | 15 this->scheme == that.scheme && |
| 16 this->realm == that.realm); | 16 this->realm == that.realm); |
| 17 } | 17 } |
| 18 | 18 |
| 19 AuthChallengeInfo::~AuthChallengeInfo() { | 19 AuthChallengeInfo::~AuthChallengeInfo() { |
| 20 } | 20 } |
| 21 | 21 |
| 22 AuthData::AuthData() : state(AUTH_STATE_NEED_AUTH) { | 22 AuthData::AuthData() : state(AUTH_STATE_NEED_AUTH) { |
| 23 } | 23 } |
| 24 | 24 |
| 25 AuthData::~AuthData() { | 25 AuthData::~AuthData() { |
| 26 } | 26 } |
| 27 | 27 |
| 28 AuthCredentials::AuthCredentials() : is_valid(false) { |
| 29 } |
| 30 |
| 31 AuthCredentials::~AuthCredentials() { |
| 32 } |
| 33 |
| 28 } // namespace net | 34 } // namespace net |
| OLD | NEW |