| Index: content/browser/renderer_host/pepper_tcp_socket.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/pepper_tcp_socket.cc (revision 112751)
|
| +++ content/browser/renderer_host/pepper_tcp_socket.cc (working copy)
|
| @@ -24,8 +24,8 @@
|
| #include "net/socket/ssl_client_socket.h"
|
| #include "net/socket/tcp_client_socket.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| +#include "ppapi/proxy/ppb_tcp_socket_private_proxy.h"
|
| #include "ppapi/shared_impl/private/net_address_private_impl.h"
|
| -#include "ppapi/shared_impl/private/tcp_socket_private_impl.h"
|
|
|
| using content::BrowserThread;
|
| using ppapi::NetAddressPrivateImpl;
|
| @@ -137,9 +137,9 @@
|
| return;
|
| }
|
|
|
| - if (bytes_to_read > ppapi::TCPSocketPrivateImpl::kMaxReadSize) {
|
| + if (bytes_to_read > ppapi::proxy::kTCPSocketMaxReadSize) {
|
| NOTREACHED();
|
| - bytes_to_read = ppapi::TCPSocketPrivateImpl::kMaxReadSize;
|
| + bytes_to_read = ppapi::proxy::kTCPSocketMaxReadSize;
|
| }
|
|
|
| read_buffer_ = new net::IOBuffer(bytes_to_read);
|
| @@ -157,9 +157,9 @@
|
| }
|
|
|
| int data_size = data.size();
|
| - if (data_size > ppapi::TCPSocketPrivateImpl::kMaxWriteSize) {
|
| + if (data_size > ppapi::proxy::kTCPSocketMaxWriteSize) {
|
| NOTREACHED();
|
| - data_size = ppapi::TCPSocketPrivateImpl::kMaxWriteSize;
|
| + data_size = ppapi::proxy::kTCPSocketMaxWriteSize;
|
| }
|
|
|
| write_buffer_ = new net::IOBuffer(data_size);
|
|
|