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

Unified Diff: net/http/http_auth.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/ftp/ftp_transaction.h ('k') | net/http/http_auth_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth.h
diff --git a/net/http/http_auth.h b/net/http/http_auth.h
index 5140596cef9f89066b8bfe2c8d7aa602014f5987..7b71850e942cd0bebdaa06b91b7c00710b82dc3d 100644
--- a/net/http/http_auth.h
+++ b/net/http/http_auth.h
@@ -10,7 +10,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
-#include "base/string16.h"
+#include "net/base/auth.h"
#include "net/base/net_export.h"
#include "net/http/http_util.h"
@@ -104,8 +104,7 @@ class NET_EXPORT_PRIVATE HttpAuth {
IdentitySource source;
bool invalid;
- string16 username;
- string16 password;
+ AuthCredentials credentials;
};
// Get the name of the header containing the auth challenge
« no previous file with comments | « net/ftp/ftp_transaction.h ('k') | net/http/http_auth_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698