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

Unified Diff: base/sync_socket.h

Issue 1302423006: Ensure that data is not overwritten in the audio input shared memory ring buffer that sits on the b… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review. Created 5 years, 3 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
Index: base/sync_socket.h
diff --git a/base/sync_socket.h b/base/sync_socket.h
index 36d6bc1f59b06f5c41af91eed69884270e466c92..a6e24e10f61531e105d1dd19513eed0d92aeade1 100644
--- a/base/sync_socket.h
+++ b/base/sync_socket.h
@@ -86,7 +86,7 @@ class BASE_EXPORT SyncSocket {
// 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();
+ virtual size_t Peek();
// Extracts the contained handle. Used for transferring between
// processes.

Powered by Google App Engine
This is Rietveld 408576698