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/edk/system/core_test_base.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <vector> | 10 #include <vector> |
8 | 11 |
9 #include "base/logging.h" | 12 #include "base/logging.h" |
10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
11 #include "mojo/edk/system/configuration.h" | 14 #include "mojo/edk/system/configuration.h" |
12 #include "mojo/edk/system/core.h" | 15 #include "mojo/edk/system/core.h" |
13 #include "mojo/edk/system/dispatcher.h" | 16 #include "mojo/edk/system/dispatcher.h" |
14 #include "mojo/public/cpp/system/macros.h" | 17 #include "mojo/public/cpp/system/macros.h" |
15 | 18 |
16 namespace mojo { | 19 namespace mojo { |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 } | 371 } |
369 | 372 |
370 void CoreTestBase_MockHandleInfo::AwakableWasAdded(Awakable* awakable) { | 373 void CoreTestBase_MockHandleInfo::AwakableWasAdded(Awakable* awakable) { |
371 base::AutoLock locker(lock_); | 374 base::AutoLock locker(lock_); |
372 added_awakables_.push_back(awakable); | 375 added_awakables_.push_back(awakable); |
373 } | 376 } |
374 | 377 |
375 } // namespace test | 378 } // namespace test |
376 } // namespace edk | 379 } // namespace edk |
377 } // namespace mojo | 380 } // namespace mojo |
OLD | NEW |