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

Unified Diff: net/socket/client_socket_handle.h

Issue 8898036: base::Bind: Convert proxy_resolving_client_socket.[cc,h] and deps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Possible test fix. 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/proxy/proxy_service_unittest.cc ('k') | net/socket/client_socket_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_handle.h
diff --git a/net/socket/client_socket_handle.h b/net/socket/client_socket_handle.h
index 23fc5cf07199029d81816724c746ffbf22a5e574..003730c07bbdd6ec6abe1257db51563a7b51e540 100644
--- a/net/socket/client_socket_handle.h
+++ b/net/socket/client_socket_handle.h
@@ -74,7 +74,7 @@ class NET_EXPORT ClientSocketHandle {
int Init(const std::string& group_name,
const scoped_refptr<SocketParams>& socket_params,
RequestPriority priority,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
PoolType* pool,
const BoundNetLog& net_log);
@@ -173,7 +173,7 @@ class NET_EXPORT ClientSocketHandle {
std::string group_name_;
bool is_reused_;
OldCompletionCallbackImpl<ClientSocketHandle> callback_;
- OldCompletionCallback* user_callback_;
+ CompletionCallback user_callback_;
base::TimeDelta idle_time_;
int pool_id_; // See ClientSocketPool::ReleaseSocket() for an explanation.
bool is_ssl_error_;
@@ -192,7 +192,7 @@ template <typename SocketParams, typename PoolType>
int ClientSocketHandle::Init(const std::string& group_name,
const scoped_refptr<SocketParams>& socket_params,
RequestPriority priority,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
PoolType* pool,
const BoundNetLog& net_log) {
requesting_source_ = net_log.source();
« no previous file with comments | « net/proxy/proxy_service_unittest.cc ('k') | net/socket/client_socket_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698