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

Unified Diff: net/http/http_auth_handler_basic.cc

Issue 8990001: base::Bind: Convert most of net/http. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang. Created 9 years 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_auth_handler_basic.cc
diff --git a/net/http/http_auth_handler_basic.cc b/net/http/http_auth_handler_basic.cc
index df24d0e89656c4df8b2a25f5e5430fdc414f91e2..52396cc6b6c55939469851cd8f3099b0dd70ef5c 100644
--- a/net/http/http_auth_handler_basic.cc
+++ b/net/http/http_auth_handler_basic.cc
@@ -86,10 +86,8 @@ HttpAuth::AuthorizationResult HttpAuthHandlerBasic::HandleAnotherChallenge(
}
int HttpAuthHandlerBasic::GenerateAuthTokenImpl(
- const AuthCredentials* credentials,
- const HttpRequestInfo*,
- OldCompletionCallback*,
- std::string* auth_token) {
+ const AuthCredentials* credentials, const HttpRequestInfo*,
+ const CompletionCallback&, std::string* auth_token) {
DCHECK(credentials);
// TODO(eroman): is this the right encoding of username/password?
std::string base64_username_password;

Powered by Google App Engine
This is Rietveld 408576698