diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-28 18:44:58 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-28 18:44:58 +0000 |
commit | f3cf980ca36d5b557b626d1bba4db6ded3ab2b77 (patch) | |
tree | 74028618ccef405480ff6da6a9d0d8c80a8fda7f /net/http/http_auth_gssapi_posix.h | |
parent | 7f5969dda833a858bc946ca59ba0a9afbee2bc89 (diff) | |
download | chromium_src-f3cf980ca36d5b557b626d1bba4db6ded3ab2b77.zip chromium_src-f3cf980ca36d5b557b626d1bba4db6ded3ab2b77.tar.gz chromium_src-f3cf980ca36d5b557b626d1bba4db6ded3ab2b77.tar.bz2 |
Use AuthCredentials throughout the network stack instead of username/password.
This is a refactor only - no behavior change should happen.
Review URL: http://codereview.chromium.org/8340026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_gssapi_posix.h')
-rw-r--r-- | net/http/http_auth_gssapi_posix.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h index 3367713..ecf057a 100644 --- a/net/http/http_auth_gssapi_posix.h +++ b/net/http/http_auth_gssapi_posix.h @@ -12,7 +12,6 @@ #include "base/gtest_prod_util.h" #include "base/native_library.h" -#include "base/string16.h" #include "net/base/net_export.h" #include "net/http/http_auth.h" @@ -245,10 +244,9 @@ class NET_EXPORT_PRIVATE HttpAuthGSSAPI { // |spn| is the Service Principal Name of the server that the token is // being generated for. // If this is the first round of a multiple round scheme, credentials are - // obtained using |*username| and |*password|. If |username| and |password| - // are NULL, the default credentials are used instead. - int GenerateAuthToken(const string16* username, - const string16* password, + // obtained using |*credentials|. If |credentials| is NULL, the default + // credentials are used instead. + int GenerateAuthToken(const AuthCredentials* credentials, const std::wstring& spn, std::string* auth_token); |