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

Unified Diff: net/socket/server_socket.h

Issue 8771030: base::Bind: Convert ServerSocket::Accept. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test logic 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
Index: net/socket/server_socket.h
diff --git a/net/socket/server_socket.h b/net/socket/server_socket.h
index 5931cf5fa9754e82c3a9bb7241f7c62c32c32dda..11151eea1539636928b64aee65876dfacd9e60ec 100644
--- a/net/socket/server_socket.h
+++ b/net/socket/server_socket.h
@@ -29,7 +29,7 @@ class NET_EXPORT ServerSocket {
// Accept connection. Callback is called when new connection is
// accepted.
virtual int Accept(scoped_ptr<StreamSocket>* socket,
- OldCompletionCallback* callback) = 0;
+ const CompletionCallback& callback) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(ServerSocket);
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc ('k') | net/socket/tcp_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698