OLD | NEW |
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 "mojo/edk/system/core_test_base.h" | 5 #include "mojo/system/core_test_base.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "mojo/edk/embedder/simple_platform_support.h" | 12 #include "mojo/embedder/simple_platform_support.h" |
13 #include "mojo/edk/system/constants.h" | 13 #include "mojo/system/constants.h" |
14 #include "mojo/edk/system/core.h" | 14 #include "mojo/system/core.h" |
15 #include "mojo/edk/system/dispatcher.h" | 15 #include "mojo/system/dispatcher.h" |
16 #include "mojo/edk/system/memory.h" | 16 #include "mojo/system/memory.h" |
17 | 17 |
18 namespace mojo { | 18 namespace mojo { |
19 namespace system { | 19 namespace system { |
20 namespace test { | 20 namespace test { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 // MockDispatcher -------------------------------------------------------------- | 24 // MockDispatcher -------------------------------------------------------------- |
25 | 25 |
26 class MockDispatcher : public Dispatcher { | 26 class MockDispatcher : public Dispatcher { |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 } | 347 } |
348 | 348 |
349 void CoreTestBase_MockHandleInfo::IncrementCancelAllWaitersCallCount() { | 349 void CoreTestBase_MockHandleInfo::IncrementCancelAllWaitersCallCount() { |
350 base::AutoLock locker(lock_); | 350 base::AutoLock locker(lock_); |
351 cancel_all_waiters_call_count_++; | 351 cancel_all_waiters_call_count_++; |
352 } | 352 } |
353 | 353 |
354 } // namespace test | 354 } // namespace test |
355 } // namespace system | 355 } // namespace system |
356 } // namespace mojo | 356 } // namespace mojo |
OLD | NEW |