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

Unified Diff: ppapi/proxy/tcp_socket_resource_constants.cc

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/tcp_socket_resource_constants.h ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/tcp_socket_resource_constants.cc
diff --git a/ppapi/proxy/tcp_socket_resource_constants.cc b/ppapi/proxy/tcp_socket_resource_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..49fb59f0030d435a9b44665d4ce1df3462141ae1
--- /dev/null
+++ b/ppapi/proxy/tcp_socket_resource_constants.cc
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ppapi/proxy/tcp_socket_resource_constants.h"
+
+namespace ppapi {
+namespace proxy {
+
+const int32_t TCPSocketResourceConstants::kMaxReadSize = 1024 * 1024;
+const int32_t TCPSocketResourceConstants::kMaxWriteSize = 1024 * 1024;
+const int32_t TCPSocketResourceConstants::kMaxSendBufferSize =
+ 1024 * TCPSocketResourceConstants::kMaxWriteSize;
+const int32_t TCPSocketResourceConstants::kMaxReceiveBufferSize =
+ 1024 * TCPSocketResourceConstants::kMaxReadSize;
+
+} // namespace proxy
+} // namespace ppapi
« no previous file with comments | « ppapi/proxy/tcp_socket_resource_constants.h ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698