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

Unified Diff: net/socket/socket.h

Issue 3417010: Integrate the SpdyProxyClientSocket into the HttpStreamRequest... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebasing again Created 10 years, 2 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/socket/socket.h
===================================================================
--- net/socket/socket.h (revision 62460)
+++ net/socket/socket.h (working copy)
@@ -26,8 +26,8 @@
// case the result will be passed to the callback when available. If the
// operation is not completed immediately, the socket acquires a reference to
// the provided buffer until the callback is invoked or the socket is
- // destroyed. If the socket is closed before the read completes, the callback
- // will not be invoked.
+ // closed. If the socket is Disconnected before the read completes, the
+ // callback will not be invoked.
virtual int Read(IOBuffer* buf, int buf_len,
CompletionCallback* callback) = 0;
@@ -40,9 +40,9 @@
// case the result will be passed to the callback when available. If the
// operation is not completed immediately, the socket acquires a reference to
// the provided buffer until the callback is invoked or the socket is
- // destroyed. Implementations of this method should not modify the contents
+ // closed. Implementations of this method should not modify the contents
// of the actual buffer that is written to the socket. If the socket is
- // closed before the write completes, the callback will not be invoked.
+ // Disconnected before the write completes, the callback will not be invoked.
virtual int Write(IOBuffer* buf, int buf_len,
CompletionCallback* callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698