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

Unified Diff: net/http/http_auth.cc

Issue 6969050: MAC Cookies (patch 4 of N) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « no previous file | net/http/http_mac_signature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth.cc
===================================================================
--- net/http/http_auth.cc (revision 85283)
+++ net/http/http_auth.cc (working copy)
@@ -13,6 +13,7 @@
#include "net/http/http_auth_handler_digest.h"
#include "net/http/http_auth_handler_negotiate.h"
#include "net/http/http_auth_handler_ntlm.h"
+#include "net/http/http_request_headers.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_util.h"
@@ -142,9 +143,9 @@
std::string HttpAuth::GetAuthorizationHeaderName(Target target) {
switch (target) {
case AUTH_PROXY:
- return "Proxy-Authorization";
+ return HttpRequestHeaders::kProxyAuthorization;
case AUTH_SERVER:
- return "Authorization";
+ return HttpRequestHeaders::kAuthorization;
default:
NOTREACHED();
return "";
« no previous file with comments | « no previous file | net/http/http_mac_signature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698