summaryrefslogtreecommitdiffstats
path: root/net/socket/socket.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 22:37:16 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 22:37:16 +0000
commitd9da5fe263e748c75d85816ee6bae46b2b9de9c9 (patch)
treef6dbf611550dc1118fcff2cfe9429ca721a5c1bf /net/socket/socket.h
parenta691b8874c225cf530396661264a77159db38780 (diff)
downloadchromium_src-d9da5fe263e748c75d85816ee6bae46b2b9de9c9.zip
chromium_src-d9da5fe263e748c75d85816ee6bae46b2b9de9c9.tar.gz
chromium_src-d9da5fe263e748c75d85816ee6bae46b2b9de9c9.tar.bz2
Integrate the SpdyProxyClientSocket into the HttpStreamRequest
to support fetching HTTPS URLS over a SPDY Proxy. BUG=29625 TEST=HttpNetworkTransactionTest.HttpsProxySpdyConnect Review URL: http://codereview.chromium.org/3417010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socket.h')
-rw-r--r--net/socket/socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/socket/socket.h b/net/socket/socket.h
index c3465ea..da17ce4 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
@@ -26,8 +26,8 @@ class Socket {
// 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 @@ class Socket {
// 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;