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

Unified Diff: net/http/http_proxy_client_socket.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_proxy_client_socket.h
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h
index 831e3efe5ec79f747204893888b5f50c36d99ad2..20e9ca446b95f609446ac11f2956f42ed170c9af 100644
--- a/net/http/http_proxy_client_socket.h
+++ b/net/http/http_proxy_client_socket.h
@@ -53,7 +53,7 @@ class HttpProxyClientSocket : public ProxyClientSocket {
// If Connect (or its callback) returns PROXY_AUTH_REQUESTED, then
// credentials should be added to the HttpAuthController before calling
// RestartWithAuth.
- int RestartWithAuth(OldCompletionCallback* callback);
+ int RestartWithAuth(const CompletionCallback& callback);
const scoped_refptr<HttpAuthController>& auth_controller() {
return auth_;
@@ -135,7 +135,7 @@ class HttpProxyClientSocket : public ProxyClientSocket {
int DoTCPRestart();
int DoTCPRestartComplete(int result);
- OldCompletionCallbackImpl<HttpProxyClientSocket> io_callback_;
+ CompletionCallback io_callback_;
State next_state_;
// Stores the callback to the layer above, called on completing Connect().

Powered by Google App Engine
This is Rietveld 408576698