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

Side by Side Diff: mojo/services/network/udp_socket_apptest.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 <stddef.h>
6 #include <stdint.h>
7
5 #include <utility> 8 #include <utility>
6 9
7 #include "base/macros.h" 10 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "base/run_loop.h" 12 #include "base/run_loop.h"
10 #include "mojo/application/public/cpp/application_connection.h" 13 #include "mojo/application/public/cpp/application_connection.h"
11 #include "mojo/application/public/cpp/application_impl.h" 14 #include "mojo/application/public/cpp/application_impl.h"
12 #include "mojo/application/public/cpp/application_test_base.h" 15 #include "mojo/application/public/cpp/application_test_base.h"
13 #include "mojo/public/cpp/bindings/callback.h" 16 #include "mojo/public/cpp/bindings/callback.h"
14 #include "mojo/services/network/public/cpp/udp_socket_wrapper.h" 17 #include "mojo/services/network/public/cpp/udp_socket_wrapper.h"
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 receive_callbacks[j].result()->code); 645 receive_callbacks[j].result()->code);
643 EXPECT_FALSE(receive_callbacks[j].src_addr()); 646 EXPECT_FALSE(receive_callbacks[j].src_addr());
644 EXPECT_TRUE(receive_callbacks[j].data().Equals( 647 EXPECT_TRUE(receive_callbacks[j].data().Equals(
645 CreateTestMessage(static_cast<uint8_t>(j), kDatagramSize))); 648 CreateTestMessage(static_cast<uint8_t>(j), kDatagramSize)));
646 } 649 }
647 } 650 }
648 } 651 }
649 652
650 } // namespace service 653 } // namespace service
651 } // namespace mojo 654 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/tcp_connected_socket_impl.cc ('k') | mojo/services/network/udp_socket_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698