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

Unified Diff: net/http/http_proxy_client_socket.cc

Issue 8914022: Revert 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « net/base/cookie_store_test_helpers.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket.cc
===================================================================
--- net/http/http_proxy_client_socket.cc (revision 114494)
+++ net/http/http_proxy_client_socket.cc (working copy)
@@ -73,7 +73,8 @@
rv = DoLoop(OK);
if (rv == ERR_IO_PENDING)
if (callback) {
- user_callback_ = base::Bind(&OldCompletionCallbackAdapter, callback);
+ user_callback_ = base::Bind(&OldCompletionCallback::Run<int>,
+ base::Unretained(callback));
}
return rv;
}
« no previous file with comments | « net/base/cookie_store_test_helpers.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698