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

Unified Diff: ppapi/proxy/tcp_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, 10 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
deleted file mode 100644
index 49fb59f0030d435a9b44665d4ce1df3462141ae1..0000000000000000000000000000000000000000
--- a/ppapi/proxy/tcp_socket_resource_constants.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// 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