diff options
author | Iain Merrick <husky@google.com> | 2010-10-19 14:37:37 +0100 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-10-19 14:37:37 +0100 |
commit | 3345a6884c488ff3a535c2c9acdd33d74b37e311 (patch) | |
tree | 7784b988ef1698cb6967ea1bdf07616237716c6c /net/base/auth.cc | |
parent | efc8475837ec58186051f23bb03542620424f6ce (diff) | |
download | external_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.zip external_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.tar.gz external_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.tar.bz2 |
Merge Chromium at 7.0.540.0 : Initial merge by git
Not including third_party/icu as it contains huge data files that break Gerrit, and aren't actually used.
Change-Id: I428a386e70f3b58cacd28677b8cfda282e891e15
Diffstat (limited to 'net/base/auth.cc')
-rw-r--r-- | net/base/auth.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/base/auth.cc b/net/base/auth.cc new file mode 100644 index 0000000..08b869c --- /dev/null +++ b/net/base/auth.cc @@ -0,0 +1,28 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "net/base/auth.h" + +namespace net { + +AuthChallengeInfo::AuthChallengeInfo() : is_proxy(false) { +} + +bool AuthChallengeInfo::operator==(const AuthChallengeInfo& that) const { + return (this->is_proxy == that.is_proxy && + this->host_and_port == that.host_and_port && + this->scheme == that.scheme && + this->realm == that.realm); +} + +AuthChallengeInfo::~AuthChallengeInfo() { +} + +AuthData::AuthData() : state(AUTH_STATE_NEED_AUTH) { +} + +AuthData::~AuthData() { +} + +} // namespace net |