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

Side by Side Diff: mojo/services/network/public/cpp/udp_socket_wrapper.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <assert.h> 5 #include <assert.h>
6 #include <stdint.h>
6 #include <utility> 7 #include <utility>
7 8
8 #include "mojo/public/cpp/environment/logging.h" 9 #include "mojo/public/cpp/environment/logging.h"
9 #include "network/public/cpp/udp_socket_wrapper.h" 10 #include "network/public/cpp/udp_socket_wrapper.h"
10 11
11 namespace mojo { 12 namespace mojo {
12 namespace { 13 namespace {
13 14
14 const uint32_t kDefaultReceiveQueueSlots = 32; 15 const uint32_t kDefaultReceiveQueueSlots = 32;
15 16
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 return true; 234 return true;
234 } 235 }
235 236
236 void UDPSocketWrapper::StartReceivingData( 237 void UDPSocketWrapper::StartReceivingData(
237 InterfaceRequest<UDPSocketReceiver> request) { 238 InterfaceRequest<UDPSocketReceiver> request) {
238 binding_.Bind(std::move(request)); 239 binding_.Bind(std::move(request));
239 socket_->ReceiveMore(max_receive_queue_size_); 240 socket_->ReceiveMore(max_receive_queue_size_);
240 } 241 }
241 242
242 } // namespace mojo 243 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/public/cpp/udp_socket_wrapper.h ('k') | mojo/services/network/public/cpp/web_socket_read_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698