| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ppapi/proxy/udp_socket_resource_constants.h" |
| 6 |
| 7 namespace ppapi { |
| 8 namespace proxy { |
| 9 |
| 10 const int32_t UDPSocketResourceConstants::kMaxWriteSize = 128 * 1024; |
| 11 const int32_t UDPSocketResourceConstants::kMaxReadSize = 128 * 1024; |
| 12 |
| 13 const int32_t UDPSocketResourceConstants::kMaxSendBufferSize = |
| 14 1024 * UDPSocketResourceConstants::kMaxWriteSize; |
| 15 const int32_t UDPSocketResourceConstants::kMaxReceiveBufferSize = |
| 16 1024 * UDPSocketResourceConstants::kMaxReadSize; |
| 17 |
| 18 const size_t UDPSocketResourceConstants::kPluginSendBufferSlots = 8u; |
| 19 const size_t UDPSocketResourceConstants::kPluginReceiveBufferSlots = 32u; |
| 20 |
| 21 } // namespace proxy |
| 22 } // namespace ppapi |
| OLD | NEW |