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

Side by Side Diff: mojo/edk/system/wait_set_dispatcher_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
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher.cc ('k') | mojo/edk/system/waiter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/edk/system/wait_set_dispatcher.h" 5 #include "mojo/edk/system/wait_set_dispatcher.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 11
12 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
10 #include "mojo/edk/system/message_pipe_dispatcher.h" 14 #include "mojo/edk/system/message_pipe_dispatcher.h"
11 #include "mojo/edk/system/test_utils.h" 15 #include "mojo/edk/system/test_utils.h"
12 #include "mojo/edk/system/waiter.h" 16 #include "mojo/edk/system/waiter.h"
13 #include "mojo/public/cpp/system/macros.h" 17 #include "mojo/public/cpp/system/macros.h"
14 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
15 19
16 namespace mojo { 20 namespace mojo {
17 namespace edk { 21 namespace edk {
18 namespace { 22 namespace {
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 EXPECT_EQ(MOJO_RESULT_OK, 454 EXPECT_EQ(MOJO_RESULT_OK,
451 GetOneReadyDispatcher(wait_set, &woken_dispatcher, nullptr)); 455 GetOneReadyDispatcher(wait_set, &woken_dispatcher, nullptr));
452 EXPECT_EQ(nested_wait_set, woken_dispatcher); 456 EXPECT_EQ(nested_wait_set, woken_dispatcher);
453 457
454 wait_set->RemoveAwakable(&w, nullptr); 458 wait_set->RemoveAwakable(&w, nullptr);
455 } 459 }
456 460
457 } // namespace 461 } // namespace
458 } // namespace edk 462 } // namespace edk
459 } // namespace mojo 463 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher.cc ('k') | mojo/edk/system/waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698