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

Unified Diff: net/socket/socket_test_util.h

Issue 199048: Add methods for setting socket buffers to the Socket (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « net/socket/socket.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
===================================================================
--- net/socket/socket_test_util.h (revision 25133)
+++ net/socket/socket_test_util.h (working copy)
@@ -247,6 +247,8 @@
net::CompletionCallback* callback) = 0;
virtual int Write(net::IOBuffer* buf, int buf_len,
net::CompletionCallback* callback) = 0;
+ virtual bool SetReceiveBufferSize(int32 size) { return true; };
+ virtual bool SetSendBufferSize(int32 size) { return true; };
#if defined(OS_LINUX)
virtual int GetPeerName(struct sockaddr *name, socklen_t *namelen);
« no previous file with comments | « net/socket/socket.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698