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

Side by Side Diff: ppapi/proxy/udp_socket_resource_constants.cc

Issue 2727093003: Fix ASAN ODR violation in ppapi/proxy in component mode (Closed)
Patch Set: simplify, no export Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « ppapi/proxy/udp_socket_resource_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « ppapi/proxy/udp_socket_resource_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698