OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HANDLE_TABLE_H_ | 5 #ifndef MOJO_EDK_SYSTEM_HANDLE_TABLE_H_ |
6 #define MOJO_EDK_SYSTEM_HANDLE_TABLE_H_ | 6 #define MOJO_EDK_SYSTEM_HANDLE_TABLE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <utility> | 10 #include <utility> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "mojo/edk/system/system_impl_export.h" | 15 #include "mojo/edk/system/system_impl_export.h" |
14 #include "mojo/public/c/system/types.h" | 16 #include "mojo/public/c/system/types.h" |
15 #include "mojo/public/cpp/system/macros.h" | 17 #include "mojo/public/cpp/system/macros.h" |
16 | 18 |
17 namespace mojo { | 19 namespace mojo { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 HandleToEntryMap handle_to_entry_map_; | 137 HandleToEntryMap handle_to_entry_map_; |
136 MojoHandle next_handle_; // Invariant: never |MOJO_HANDLE_INVALID|. | 138 MojoHandle next_handle_; // Invariant: never |MOJO_HANDLE_INVALID|. |
137 | 139 |
138 MOJO_DISALLOW_COPY_AND_ASSIGN(HandleTable); | 140 MOJO_DISALLOW_COPY_AND_ASSIGN(HandleTable); |
139 }; | 141 }; |
140 | 142 |
141 } // namespace edk | 143 } // namespace edk |
142 } // namespace mojo | 144 } // namespace mojo |
143 | 145 |
144 #endif // MOJO_EDK_SYSTEM_HANDLE_TABLE_H_ | 146 #endif // MOJO_EDK_SYSTEM_HANDLE_TABLE_H_ |
OLD | NEW |