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

Unified Diff: net/http/http_auth_controller.h

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_controller.h
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h
index 2712d0025cd2575d09607a8251cc310cd435d391..2995bb7c3321fac0e427ea334ec9ede55cfb9d09 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -45,7 +45,7 @@ class NET_EXPORT_PRIVATE HttpAuthController
// a token is correctly generated synchronously, as well as when no tokens
// were necessary.
virtual int MaybeGenerateAuthToken(const HttpRequestInfo* request,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
const BoundNetLog& net_log);
// Adds either the proxy auth header, or the origin server auth header,
@@ -163,8 +163,7 @@ class NET_EXPORT_PRIVATE HttpAuthController
std::set<HttpAuth::Scheme> disabled_schemes_;
- OldCompletionCallbackImpl<HttpAuthController> io_callback_;
- OldCompletionCallback* user_callback_;
+ CompletionCallback callback_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698