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

Unified Diff: net/socket/transport_client_socket_pool.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/socket/transport_client_socket_pool.h
diff --git a/net/socket/transport_client_socket_pool.h b/net/socket/transport_client_socket_pool.h
index 44309d423c1b54f1ea9c4090dd1b8b1daa1ccf62..a23c8b9a604b5df12c98d42f42e7d474da06017f 100644
--- a/net/socket/transport_client_socket_pool.h
+++ b/net/socket/transport_client_socket_pool.h
@@ -140,53 +140,38 @@ class NET_EXPORT_PRIVATE TransportClientSocketPool : public ClientSocketPool {
virtual ~TransportClientSocketPool();
- // ClientSocketPool methods:
-
+ // ClientSocketPool implementation.
virtual int RequestSocket(const std::string& group_name,
const void* resolve_info,
RequestPriority priority,
ClientSocketHandle* handle,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
const BoundNetLog& net_log) OVERRIDE;
-
virtual void RequestSockets(const std::string& group_name,
const void* params,
int num_sockets,
const BoundNetLog& net_log) OVERRIDE;
-
virtual void CancelRequest(const std::string& group_name,
ClientSocketHandle* handle) OVERRIDE;
-
virtual void ReleaseSocket(const std::string& group_name,
StreamSocket* socket,
int id) OVERRIDE;
-
virtual void Flush() OVERRIDE;
-
virtual bool IsStalled() const OVERRIDE;
-
virtual void CloseIdleSockets() OVERRIDE;
-
virtual int IdleSocketCount() const OVERRIDE;
-
virtual int IdleSocketCountInGroup(
const std::string& group_name) const OVERRIDE;
-
virtual LoadState GetLoadState(
const std::string& group_name,
const ClientSocketHandle* handle) const OVERRIDE;
-
virtual void AddLayeredPool(LayeredPool* layered_pool) OVERRIDE;
-
virtual void RemoveLayeredPool(LayeredPool* layered_pool) OVERRIDE;
-
virtual base::DictionaryValue* GetInfoAsValue(
const std::string& name,
const std::string& type,
bool include_nested_pools) const OVERRIDE;
-
virtual base::TimeDelta ConnectionTimeout() const OVERRIDE;
-
virtual ClientSocketPoolHistograms* histograms() const OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698