Index: net/http/http_network_transaction.h |
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h |
index ca4e88209d72823091bddfcc4e2994c585f8b45c..85118088d219e12f1affd7efd201d38a4245b3cf 100644 |
--- a/net/http/http_network_transaction.h |
+++ b/net/http/http_network_transaction.h |
@@ -33,6 +33,7 @@ class ClientSocketFactory; |
class ClientSocketHandle; |
class SpdyStream; |
class HttpNetworkSession; |
+class HttpRequestHeaders; |
class HttpStream; |
class HttpNetworkTransaction : public HttpTransaction { |
@@ -214,9 +215,10 @@ class HttpNetworkTransaction : public HttpTransaction { |
// Returns true if we should try to add an Authorization header. |
bool ShouldApplyServerAuth() const; |
- // Builds either the proxy auth header, or the origin server auth header, |
+ // Adds either the proxy auth header, or the origin server auth header, |
// as specified by |target|. |
- std::string BuildAuthorizationHeader(HttpAuth::Target target) const; |
+ void AddAuthorizationHeader( |
+ HttpAuth::Target target, HttpRequestHeaders* authorization_headers) const; |
// Returns a log message for all the response headers related to the auth |
// challenge. |