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

Unified Diff: sync_socket.h

Issue 2045223003: Update to Chromium //base at Chromium commit 82baa9afc6620c68cb2168f20bb65e77e3e57f0a. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « process/launch_posix.cc ('k') | synchronization/condition_variable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync_socket.h
diff --git a/sync_socket.h b/sync_socket.h
index 36d6bc1f59b06f5c41af91eed69884270e466c92..201fb1c1553dea6c4aa265fe28860e912219566d 100644
--- a/sync_socket.h
+++ b/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.
« no previous file with comments | « process/launch_posix.cc ('k') | synchronization/condition_variable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698