Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: net/http/http_auth_gssapi_posix.h

Issue 8340026: Use AuthCredentials throughout the network stack instead of username/password. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix comments Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_auth_controller_unittest.cc ('k') | net/http/http_auth_gssapi_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_gssapi_posix.h
diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h
index 3367713ef85a147b9eee5f37e924836f02f7d1ed..ecf057a9b33bad179e1825c3898d785f05f8f3ab 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);
« no previous file with comments | « net/http/http_auth_controller_unittest.cc ('k') | net/http/http_auth_gssapi_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698