diff options
Diffstat (limited to 'chromium/base/sync_socket.h')
-rw-r--r-- | chromium/base/sync_socket.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/base/sync_socket.h b/chromium/base/sync_socket.h index 36d6bc1f59b..201fb1c1553 100644 --- a/chromium/base/sync_socket.h +++ b/chromium/base/sync_socket.h @@ -83,10 +83,8 @@ class BASE_EXPORT SyncSocket { TimeDelta timeout); // Returns the number of bytes available. If non-zero, Receive() will not - // not block when called. NOTE: Some implementations cannot reliably - // determine the number of bytes available so avoid using the returned - // size as a promise and simply test against zero. - size_t Peek(); + // not block when called. + virtual size_t Peek(); // Extracts the contained handle. Used for transferring between // processes. |