Index: base/sync_socket.h |
diff --git a/base/sync_socket.h b/base/sync_socket.h |
index 8ba3f6c2652f0a02e97066dae40f821387b253c3..f9c71930c3255cc6946aab7b16a3dd8b9e40446d 100644 |
--- a/base/sync_socket.h |
+++ b/base/sync_socket.h |
@@ -57,6 +57,7 @@ class BASE_EXPORT SyncSocket { |
// length is the number of bytes of data to receive (must be non-zero). |
// Returns the number of bytes received, or 0 upon failure. |
virtual size_t Receive(void* buffer, size_t length); |
+ virtual size_t Receive(void* buffer, size_t length, base::TimeDelta timeout); |
henrika (OOO until Aug 14)
2013/08/20 07:50:30
Extend comment for new parameter.
DaleCurtis
2013/09/11 01:16:03
Done.
|
// Returns the number of bytes available. If non-zero, Receive() will not |
// not block when called. NOTE: Some implementations cannot reliably |