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

Side by Side Diff: mojo/edk/system/message_pipe_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdint.h>
6
5 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
6 #include "mojo/edk/system/test_utils.h" 8 #include "mojo/edk/system/test_utils.h"
7 #include "mojo/public/c/system/core.h" 9 #include "mojo/public/c/system/core.h"
8 #include "mojo/public/c/system/types.h" 10 #include "mojo/public/c/system/types.h"
9 11
10 namespace mojo { 12 namespace mojo {
11 namespace edk { 13 namespace edk {
12 namespace { 14 namespace {
13 15
14 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE | 16 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION, 402 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION,
401 MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, 403 MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE,
402 MOJO_DEADLINE_INDEFINITE, &hss)); 404 MOJO_DEADLINE_INDEFINITE, &hss));
403 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); 405 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals);
404 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); 406 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals);
405 } 407 }
406 408
407 } // namespace 409 } // namespace
408 } // namespace edk 410 } // namespace edk
409 } // namespace mojo 411 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_perftest.cc ('k') | mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698