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

Unified Diff: ppapi/proxy/udp_socket_resource_base.h

Issue 2652123003: Make ppapi/proxy child-process only (Closed)
Patch Set: component Created 3 years, 11 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 | « ppapi/proxy/udp_socket_filter.cc ('k') | ppapi/proxy/udp_socket_resource_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/udp_socket_resource_base.h
diff --git a/ppapi/proxy/udp_socket_resource_base.h b/ppapi/proxy/udp_socket_resource_base.h
index 30599422f037b6f4127c000e7797a8380591c59e..97512b3c3188526d81e937c711e1d48f8cb101d5 100644
--- a/ppapi/proxy/udp_socket_resource_base.h
+++ b/ppapi/proxy/udp_socket_resource_base.h
@@ -26,32 +26,6 @@ namespace proxy {
class ResourceMessageReplyParams;
class PPAPI_PROXY_EXPORT UDPSocketResourceBase : public PluginResource {
- public:
- // The maximum number of bytes that each
- // PpapiPluginMsg_PPBUDPSocket_PushRecvResult message is allowed to carry.
- static const int32_t kMaxReadSize;
- // The maximum number of bytes that each PpapiHostMsg_PPBUDPSocket_SendTo
- // message is allowed to carry.
- static const int32_t kMaxWriteSize;
-
- // The maximum number that we allow for setting
- // PP_UDPSOCKET_OPTION_SEND_BUFFER_SIZE. This number is only for input
- // argument sanity check, it doesn't mean the browser guarantees to support
- // such a buffer size.
- static const int32_t kMaxSendBufferSize;
- // The maximum number that we allow for setting
- // PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE. This number is only for input
- // argument sanity check, it doesn't mean the browser guarantees to support
- // such a buffer size.
- static const int32_t kMaxReceiveBufferSize;
-
- // The maximum number of received packets that we allow instances of this
- // class to buffer.
- static const size_t kPluginReceiveBufferSlots;
- // The maximum number of buffers that we allow instances of this class to be
- // sending before we block the plugin.
- static const size_t kPluginSendBufferSlots;
-
protected:
UDPSocketResourceBase(Connection connection,
PP_Instance instance,
« no previous file with comments | « ppapi/proxy/udp_socket_filter.cc ('k') | ppapi/proxy/udp_socket_resource_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698