summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 23:45:03 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 23:45:03 +0000
commit74da373074d2ded097efef8541cf878564773a7f (patch)
tree5f972fb31e384185c919c5bf17f1c2b3d6c88c39
parent8c756aceec4b21f937ae021b9057ae71adae286c (diff)
downloadchromium_src-74da373074d2ded097efef8541cf878564773a7f.zip
chromium_src-74da373074d2ded097efef8541cf878564773a7f.tar.gz
chromium_src-74da373074d2ded097efef8541cf878564773a7f.tar.bz2
Fix a minor style nit. Make a comment clearer.
R=eroman Review URL: http://codereview.chromium.org/19731 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8996 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/base/tcp_client_socket.h4
-rw-r--r--net/http/http_network_transaction.cc7
2 files changed, 5 insertions, 6 deletions
diff --git a/net/base/tcp_client_socket.h b/net/base/tcp_client_socket.h
index 96e40e6..e4a0848 100644
--- a/net/base/tcp_client_socket.h
+++ b/net/base/tcp_client_socket.h
@@ -86,8 +86,8 @@ class TCPClientSocket : public ClientSocket,
// base::ObjectWatcher::Delegate methods:
virtual void OnObjectSignaled(HANDLE object);
- // After a Winsock function succeeds synchronously, waits for the
- // (manual-reset) event object to become signaled and resets it.
+ // Waits for the (manual-reset) event object to become signaled and resets
+ // it. Called after a Winsock function succeeds synchronously
//
// Our testing shows that except in rare cases (when running inside QEMU),
// the event object is already signaled at this point, so we just call this
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 2e96deb..25b21d6 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -1242,12 +1242,11 @@ int HttpNetworkTransaction::HandleAuthChallenge() {
DCHECK(user_callback_);
PrepareForAuthRestart(target);
return WILL_RESTART_TRANSACTION;
- } else {
- // We have exhausted all identity possibilities, all we can do now is
- // pass the challenge information back to the client.
- PopulateAuthChallenge(target);
}
+ // We have exhausted all identity possibilities, all we can do now is
+ // pass the challenge information back to the client.
+ PopulateAuthChallenge(target);
return OK;
}