summaryrefslogtreecommitdiffstats
path: root/net/base/client_socket.h
diff options
context:
space:
mode:
authormarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 22:23:51 +0000
committermarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 22:23:51 +0000
commitb9a9188da43a172c6b299e27075c1486fe4458e2 (patch)
tree6185d007f076e0487ec98e2d5f48e4f539bdc102 /net/base/client_socket.h
parentcfbbe386c810b373b198525c0d2dab5e4103ada7 (diff)
downloadchromium_src-b9a9188da43a172c6b299e27075c1486fe4458e2.zip
chromium_src-b9a9188da43a172c6b299e27075c1486fe4458e2.tar.gz
chromium_src-b9a9188da43a172c6b299e27075c1486fe4458e2.tar.bz2
Reverting, as this changelist broke unittests on Windows.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/client_socket.h')
-rw-r--r--net/base/client_socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/client_socket.h b/net/base/client_socket.h
index 3553d52..4d25b38 100644
--- a/net/base/client_socket.h
+++ b/net/base/client_socket.h
@@ -33,6 +33,11 @@ class ClientSocket : public Socket {
//
virtual int Connect(CompletionCallback* callback) = 0;
+ // If a non-fatal error occurs during Connect, the consumer can call this
+ // method to re-Connect ignoring the error that occured. This call is only
+ // valid for certain errors.
+ virtual int ReconnectIgnoringLastError(CompletionCallback* callback) = 0;
+
// Called to disconnect a connected socket. Does nothing if the socket is
// already disconnected. After calling Disconnect it is possible to call
// Connect again to establish a new connection.