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

Unified Diff: net/http/http_network_transaction.cc

Issue 2806052: Remove the net_log member from HttpAuthController. (Closed)
Patch Set: Created 10 years, 5 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
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 63fe507ee1e6a093f4e4a23b7b1d4f7f5e264b0c..8200fb80b92c67c9184ed889cd589005a5cad3bd 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -708,7 +708,7 @@ int HttpNetworkTransaction::DoInitConnection() {
if (!auth_controllers_[target].get())
auth_controllers_[target] = new HttpAuthController(target,
AuthURL(target),
- session_, net_log_);
+ session_);
}
next_state_ = STATE_INIT_CONNECTION_COMPLETE;
@@ -1001,7 +1001,7 @@ int HttpNetworkTransaction::DoGenerateProxyAuthToken() {
if (!ShouldApplyProxyAuth())
return OK;
return auth_controllers_[HttpAuth::AUTH_PROXY]->MaybeGenerateAuthToken(
- request_, &io_callback_);
+ request_, &io_callback_, net_log_);
}
int HttpNetworkTransaction::DoGenerateProxyAuthTokenComplete(int rv) {
@@ -1016,7 +1016,7 @@ int HttpNetworkTransaction::DoGenerateServerAuthToken() {
if (!ShouldApplyServerAuth())
return OK;
return auth_controllers_[HttpAuth::AUTH_SERVER]->MaybeGenerateAuthToken(
- request_, &io_callback_);
+ request_, &io_callback_, net_log_);
}
int HttpNetworkTransaction::DoGenerateServerAuthTokenComplete(int rv) {
@@ -1779,7 +1779,8 @@ int HttpNetworkTransaction::HandleAuthChallenge() {
return ERR_UNEXPECTED_PROXY_AUTH;
int rv = auth_controllers_[target]->HandleAuthChallenge(
- headers, (request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA) != 0, false);
+ headers, (request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA) != 0, false,
+ net_log_);
if (auth_controllers_[target]->HaveAuthHandler())
pending_auth_target_ = target;

Powered by Google App Engine
This is Rietveld 408576698