| Index: net/base/auth.h
|
| diff --git a/net/base/auth.h b/net/base/auth.h
|
| index 386adadcb3b19cf78b4a90a5108814d5de5a5bdf..fcc772d6a123866b3285f737f6504101e58422e5 100644
|
| --- a/net/base/auth.h
|
| +++ b/net/base/auth.h
|
| @@ -47,17 +47,27 @@ class NET_EXPORT AuthChallengeInfo :
|
| class NET_EXPORT AuthCredentials {
|
| public:
|
| AuthCredentials();
|
| + AuthCredentials(const string16& username, const string16& password);
|
| ~AuthCredentials();
|
|
|
| + bool Equals(const AuthCredentials& other) const;
|
| + bool Empty() const;
|
| +
|
| + void Set(const string16& username, const string16& password);
|
| +
|
| + const string16& username() const { return username_; }
|
| + const string16& password() const { return password_; }
|
| +
|
| + private:
|
| // The username to provide, possibly empty. This should be ASCII only to
|
| // minimize compatibility problems, but arbitrary UTF-16 strings are allowed
|
| // and will be attempted.
|
| - string16 username;
|
| + string16 username_;
|
|
|
| // The password to provide, possibly empty. This should be ASCII only to
|
| // minimize compatibility problems, but arbitrary UTF-16 strings are allowed
|
| // and will be attempted.
|
| - string16 password;
|
| + string16 password_;
|
|
|
| // Intentionally allowing the implicit copy constructor and assignment
|
| // operators.
|
|
|