| 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 #ifndef MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ | 5 #ifndef MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ |
| 6 #define MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ | 6 #define MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "mojo/edk/system/system_impl_export.h" | 12 #include "mojo/edk/system/system_impl_export.h" |
| 13 #include "third_party/mojo/src/mojo/public/c/system/types.h" | 13 #include "mojo/public/c/system/types.h" |
| 14 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | 14 #include "mojo/public/cpp/system/macros.h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace edk { | 17 namespace edk { |
| 18 | 18 |
| 19 class Awakable; | 19 class Awakable; |
| 20 struct HandleSignalsState; | 20 struct HandleSignalsState; |
| 21 | 21 |
| 22 // |AwakableList| tracks all the |Waiter|s that are waiting on a given | 22 // |AwakableList| tracks all the |Waiter|s that are waiting on a given |
| 23 // handle/|Dispatcher|. There should be a |AwakableList| for each handle that | 23 // handle/|Dispatcher|. There should be a |AwakableList| for each handle that |
| 24 // can be waited on (in any way). In the simple case, the |AwakableList| is | 24 // can be waited on (in any way). In the simple case, the |AwakableList| is |
| (...skipping 24 matching lines...) Expand all Loading... |
| 49 | 49 |
| 50 AwakeInfoList awakables_; | 50 AwakeInfoList awakables_; |
| 51 | 51 |
| 52 MOJO_DISALLOW_COPY_AND_ASSIGN(AwakableList); | 52 MOJO_DISALLOW_COPY_AND_ASSIGN(AwakableList); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace edk | 55 } // namespace edk |
| 56 } // namespace mojo | 56 } // namespace mojo |
| 57 | 57 |
| 58 #endif // MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ | 58 #endif // MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ |
| OLD | NEW |