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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_udp_socket_private_message_filter.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698