OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/pepper/pepper_udp_socket_private_message
_filter.h" | 5 #include "content/browser/renderer_host/pepper/pepper_udp_socket_private_message
_filter.h" |
6 | 6 |
7 #include <cstring> | 7 #include <cstring> |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 373 |
374 void PepperUDPSocketPrivateMessageFilter::SendBindError( | 374 void PepperUDPSocketPrivateMessageFilter::SendBindError( |
375 const ppapi::host::ReplyMessageContext& context, | 375 const ppapi::host::ReplyMessageContext& context, |
376 int32_t result) { | 376 int32_t result) { |
377 SendBindReply(context, result, NetAddressPrivateImpl::kInvalidNetAddress); | 377 SendBindReply(context, result, NetAddressPrivateImpl::kInvalidNetAddress); |
378 } | 378 } |
379 | 379 |
380 void PepperUDPSocketPrivateMessageFilter::SendRecvFromError( | 380 void PepperUDPSocketPrivateMessageFilter::SendRecvFromError( |
381 const ppapi::host::ReplyMessageContext& context, | 381 const ppapi::host::ReplyMessageContext& context, |
382 int32_t result) { | 382 int32_t result) { |
383 SendRecvFromReply(context, result, "", | 383 SendRecvFromReply(context, |
| 384 result, |
| 385 std::string(), |
384 NetAddressPrivateImpl::kInvalidNetAddress); | 386 NetAddressPrivateImpl::kInvalidNetAddress); |
385 } | 387 } |
386 | 388 |
387 void PepperUDPSocketPrivateMessageFilter::SendSendToError( | 389 void PepperUDPSocketPrivateMessageFilter::SendSendToError( |
388 const ppapi::host::ReplyMessageContext& context, | 390 const ppapi::host::ReplyMessageContext& context, |
389 int32_t result) { | 391 int32_t result) { |
390 SendSendToReply(context, result, 0); | 392 SendSendToReply(context, result, 0); |
391 } | 393 } |
392 | 394 |
393 } // namespace content | 395 } // namespace content |
OLD | NEW |