diff options
Diffstat (limited to 'net/http/http_auth_handler.h')
-rw-r--r-- | net/http/http_auth_handler.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h index 179ed25..9b092cf 100644 --- a/net/http/http_auth_handler.h +++ b/net/http/http_auth_handler.h @@ -8,6 +8,7 @@ #include <string> +#include "base/string16.h" #include "base/time.h" #include "net/base/completion_callback.h" #include "net/base/net_log.h" @@ -57,8 +58,8 @@ class HttpAuthHandler { // call. // Otherwise, there was a problem generating a token synchronously, and the // value of |*auth_token| is unspecified. - int GenerateAuthToken(const std::wstring* username, - const std::wstring* password, + int GenerateAuthToken(const string16* username, + const string16* password, const HttpRequestInfo* request, CompletionCallback* callback, std::string* auth_token); @@ -137,8 +138,8 @@ class HttpAuthHandler { // |GenerateAuthTokenImpl()} is the auth-scheme specific implementation // of generating the next auth token. Callers sohuld use |GenerateAuthToken()| // which will in turn call |GenerateAuthTokenImpl()| - virtual int GenerateAuthTokenImpl(const std::wstring* username, - const std::wstring* password, + virtual int GenerateAuthTokenImpl(const string16* username, + const string16* password, const HttpRequestInfo* request, CompletionCallback* callback, std::string* auth_token) = 0; |