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_SYSTEM_CORE_H_ | 5 #ifndef MOJO_SYSTEM_CORE_H_ |
6 #define MOJO_SYSTEM_CORE_H_ | 6 #define MOJO_SYSTEM_CORE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
| 12 #include "mojo/public/c/system/core.h" |
| 13 #include "mojo/public/c/system/types.h" |
12 #include "mojo/system/handle_table.h" | 14 #include "mojo/system/handle_table.h" |
13 #include "mojo/system/mapping_table.h" | 15 #include "mojo/system/mapping_table.h" |
14 #include "mojo/system/system_impl_export.h" | 16 #include "mojo/system/system_impl_export.h" |
15 | 17 |
16 namespace mojo { | 18 namespace mojo { |
17 namespace system { | 19 namespace system { |
18 | 20 |
19 class Dispatcher; | 21 class Dispatcher; |
20 | 22 |
21 // |Core| is an object that implements the Mojo system calls. All public methods | 23 // |Core| is an object that implements the Mojo system calls. All public methods |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 119 |
118 // --------------------------------------------------------------------------- | 120 // --------------------------------------------------------------------------- |
119 | 121 |
120 DISALLOW_COPY_AND_ASSIGN(Core); | 122 DISALLOW_COPY_AND_ASSIGN(Core); |
121 }; | 123 }; |
122 | 124 |
123 } // namespace system | 125 } // namespace system |
124 } // namespace mojo | 126 } // namespace mojo |
125 | 127 |
126 #endif // MOJO_SYSTEM_CORE_H_ | 128 #endif // MOJO_SYSTEM_CORE_H_ |
OLD | NEW |