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

Side by Side Diff: mojo/services/network/udp_socket_impl.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 5 years 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 "mojo/services/network/udp_socket_impl.h" 5 #include "mojo/services/network/udp_socket_impl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
7 #include <string.h> 9 #include <string.h>
8 #include <algorithm> 10 #include <algorithm>
9 #include <limits> 11 #include <limits>
10 #include <utility> 12 #include <utility>
11 13
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/stl_util.h" 16 #include "base/stl_util.h"
15 #include "mojo/services/network/net_adapters.h" 17 #include "mojo/services/network/net_adapters.h"
16 #include "mojo/services/network/net_address_type_converters.h" 18 #include "mojo/services/network/net_address_type_converters.h"
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 return; 371 return;
370 372
371 scoped_ptr<PendingSendRequest> request(pending_send_requests_.front()); 373 scoped_ptr<PendingSendRequest> request(pending_send_requests_.front());
372 pending_send_requests_.pop_front(); 374 pending_send_requests_.pop_front();
373 375
374 DoSendTo(std::move(request->addr), std::move(request->data), 376 DoSendTo(std::move(request->addr), std::move(request->data),
375 request->callback); 377 request->callback);
376 } 378 }
377 379
378 } // namespace mojo 380 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/udp_socket_impl.h ('k') | mojo/services/network/url_loader_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698