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

Unified Diff: ppapi/proxy/tcp_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/BUILD.gn ('k') | ppapi/proxy/tcp_socket_resource_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/tcp_socket_resource_base.h
diff --git a/ppapi/proxy/tcp_socket_resource_base.h b/ppapi/proxy/tcp_socket_resource_base.h
index 1df1c583c330b265a28f9f72762df7e6f9af5c50..382766cd9fe158ea0754765cecb6d06870539529 100644
--- a/ppapi/proxy/tcp_socket_resource_base.h
+++ b/ppapi/proxy/tcp_socket_resource_base.h
@@ -28,26 +28,6 @@ class PPB_X509Certificate_Private_Shared;
namespace proxy {
class PPAPI_PROXY_EXPORT TCPSocketResourceBase : public PluginResource {
- public:
- // TODO(yzshen): Move these constants to ppb_tcp_socket_shared.
- // The maximum number of bytes that each PpapiHostMsg_PPBTCPSocket_Read
- // message is allowed to request.
- static const int32_t kMaxReadSize;
- // The maximum number of bytes that each PpapiHostMsg_PPBTCPSocket_Write
- // message is allowed to carry.
- static const int32_t kMaxWriteSize;
-
- // The maximum number that we allow for setting
- // PP_TCPSOCKET_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_TCPSOCKET_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;
-
protected:
// C-tor used for new sockets.
TCPSocketResourceBase(Connection connection,
« no previous file with comments | « ppapi/proxy/BUILD.gn ('k') | ppapi/proxy/tcp_socket_resource_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698