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

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 12220050: Provide a way to disable Nagle's algorithm on Pepper TCP sockets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually export v0.5 interface, and add thunk for it. Fix unit-test and add missing IsConnected che… Created 7 years, 10 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: webkit/plugins/ppapi/mock_plugin_delegate.h
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h
index c4c1342f8220c078eb06df314700a087f028ecf3..2b67728261fb5353089fe9da2edf2c04ff2b7916 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h
@@ -124,6 +124,9 @@ class MockPluginDelegate : public PluginDelegate {
virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read);
virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer);
virtual void TCPSocketDisconnect(uint32 socket_id);
+ virtual void TCPSocketSetBoolOption(uint32 socket_id,
+ PP_TCPSocketOption_Private name,
+ bool value);
virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
uint32 socket_id);
virtual void TCPServerSocketListen(PP_Resource socket_resource,

Powered by Google App Engine
This is Rietveld 408576698