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_DISPATCHER_H_ | 5 #ifndef MOJO_SYSTEM_DISPATCHER_H_ |
6 #define MOJO_SYSTEM_DISPATCHER_H_ | 6 #define MOJO_SYSTEM_DISPATCHER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "mojo/embedder/platform_handle.h" | 17 #include "mojo/embedder/platform_handle.h" |
18 #include "mojo/embedder/platform_handle_vector.h" | 18 #include "mojo/embedder/platform_handle_vector.h" |
19 #include "mojo/public/c/system/core.h" | 19 #include "mojo/public/c/system/core.h" |
| 20 #include "mojo/public/c/system/message_pipe.h" |
| 21 #include "mojo/public/c/system/types.h" |
20 #include "mojo/system/system_impl_export.h" | 22 #include "mojo/system/system_impl_export.h" |
21 | 23 |
22 namespace mojo { | 24 namespace mojo { |
23 namespace system { | 25 namespace system { |
24 | 26 |
25 class Channel; | 27 class Channel; |
26 class Core; | 28 class Core; |
27 class Dispatcher; | 29 class Dispatcher; |
28 class DispatcherTransport; | 30 class DispatcherTransport; |
29 class HandleTable; | 31 class HandleTable; |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 370 |
369 Dispatcher* dispatcher_; | 371 Dispatcher* dispatcher_; |
370 | 372 |
371 // Copy and assign allowed. | 373 // Copy and assign allowed. |
372 }; | 374 }; |
373 | 375 |
374 } // namespace system | 376 } // namespace system |
375 } // namespace mojo | 377 } // namespace mojo |
376 | 378 |
377 #endif // MOJO_SYSTEM_DISPATCHER_H_ | 379 #endif // MOJO_SYSTEM_DISPATCHER_H_ |
OLD | NEW |