| Index: net/base/auth.cc
|
| diff --git a/net/base/auth.cc b/net/base/auth.cc
|
| index 08b869cb7256a9545bfa1dd470008d12426b5955..8894eeb4f7261534725cb6ca0122a23e11b64fe2 100644
|
| --- a/net/base/auth.cc
|
| +++ b/net/base/auth.cc
|
| @@ -6,7 +6,11 @@
|
|
|
| namespace net {
|
|
|
| -AuthChallengeInfo::AuthChallengeInfo() : is_proxy(false) {
|
| +const char kTLSSRPScheme[] = "tls-srp";
|
| +
|
| +AuthChallengeInfo::AuthChallengeInfo() :
|
| + is_proxy(false),
|
| + over_protocol(AUTH_OVER_HTTP) {
|
| }
|
|
|
| bool AuthChallengeInfo::operator==(const AuthChallengeInfo& that) const {
|
| @@ -16,10 +20,19 @@ bool AuthChallengeInfo::operator==(const AuthChallengeInfo& that) const {
|
| this->realm == that.realm);
|
| }
|
|
|
| +void AuthChallengeInfo::Reset() {
|
| + is_proxy = false;
|
| + host_and_port.clear();
|
| + scheme.clear();
|
| + realm.clear();
|
| +}
|
| +
|
| AuthChallengeInfo::~AuthChallengeInfo() {
|
| }
|
|
|
| -AuthData::AuthData() : state(AUTH_STATE_NEED_AUTH) {
|
| +AuthData::AuthData() :
|
| + state(AUTH_STATE_NEED_AUTH),
|
| + over_protocol(AUTH_OVER_HTTP) {
|
| }
|
|
|
| AuthData::~AuthData() {
|
|
|