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

Unified Diff: net/base/listen_socket.h

Issue 10161005: Add DefaultListenSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix year in license header Created 8 years, 8 months 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/base/listen_socket.h
diff --git a/net/base/listen_socket.h b/net/base/listen_socket.h
index f10246247d02dceb8b2b46626e4ced6747f2b630..d88ebb1182396d5246943666e2000f77d9f4b61f 100644
--- a/net/base/listen_socket.h
+++ b/net/base/listen_socket.h
@@ -32,12 +32,12 @@ class NET_EXPORT ListenSocket
// server is the original listening Socket, connection is the new
mmenke 2012/04/25 17:25:31 nit: |server|
Philippe 2012/04/30 06:55:21 Done. Note that this interface is now part of Stre
// Socket that was created. Ownership of connection is transferred
// to the delegate with this call.
- virtual void DidAccept(ListenSocket *server,
- ListenSocket *connection) = 0;
- virtual void DidRead(ListenSocket *connection,
+ virtual void DidAccept(ListenSocket* server,
+ ListenSocket* connection) = 0;
+ virtual void DidRead(ListenSocket* connection,
const char* data,
int len) = 0;
- virtual void DidClose(ListenSocket *sock) = 0;
+ virtual void DidClose(ListenSocket* sock) = 0;
};
// Send data to the socket.

Powered by Google App Engine
This is Rietveld 408576698