OLD | NEW |
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 #ifndef MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ | 5 #ifndef MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ |
6 #define MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ | 6 #define MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 #include <map> | 11 #include <map> |
10 #include <utility> | 12 #include <utility> |
11 | 13 |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
14 #include "mojo/edk/system/awakable_list.h" | 16 #include "mojo/edk/system/awakable_list.h" |
15 #include "mojo/edk/system/dispatcher.h" | 17 #include "mojo/edk/system/dispatcher.h" |
16 #include "mojo/edk/system/system_impl_export.h" | 18 #include "mojo/edk/system/system_impl_export.h" |
17 #include "mojo/public/cpp/system/macros.h" | 19 #include "mojo/public/cpp/system/macros.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 AwakableList awakable_list_; | 88 AwakableList awakable_list_; |
87 | 89 |
88 // Waiter used to wait on dispatchers. | 90 // Waiter used to wait on dispatchers. |
89 scoped_ptr<Waiter> waiter_; | 91 scoped_ptr<Waiter> waiter_; |
90 }; | 92 }; |
91 | 93 |
92 } // namespace edk | 94 } // namespace edk |
93 } // namespace mojo | 95 } // namespace mojo |
94 | 96 |
95 #endif // MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ | 97 #endif // MOJO_EDK_SYSTEM_WAIT_SET_DISPATCHER_H_ |
OLD | NEW |