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_DISPATCHER_H_ | 5 #ifndef MOJO_EDK_SYSTEM_DISPATCHER_H_ |
6 #define MOJO_EDK_SYSTEM_DISPATCHER_H_ | 6 #define MOJO_EDK_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 <memory> | 11 #include <memory> |
12 #include <ostream> | 12 #include <ostream> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | |
17 #include "mojo/edk/embedder/platform_handle_vector.h" | 16 #include "mojo/edk/embedder/platform_handle_vector.h" |
18 #include "mojo/edk/system/handle_signals_state.h" | 17 #include "mojo/edk/system/handle_signals_state.h" |
19 #include "mojo/edk/system/memory.h" | 18 #include "mojo/edk/system/memory.h" |
20 #include "mojo/edk/system/mutex.h" | 19 #include "mojo/edk/system/mutex.h" |
21 #include "mojo/edk/system/system_impl_export.h" | 20 #include "mojo/edk/system/system_impl_export.h" |
22 #include "mojo/public/c/system/buffer.h" | 21 #include "mojo/public/c/system/buffer.h" |
23 #include "mojo/public/c/system/data_pipe.h" | 22 #include "mojo/public/c/system/data_pipe.h" |
24 #include "mojo/public/c/system/message_pipe.h" | 23 #include "mojo/public/c/system/message_pipe.h" |
25 #include "mojo/public/c/system/types.h" | 24 #include "mojo/public/c/system/types.h" |
26 #include "mojo/public/cpp/system/macros.h" | 25 #include "mojo/public/cpp/system/macros.h" |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 // So logging macros and |DCHECK_EQ()|, etc. work. | 425 // So logging macros and |DCHECK_EQ()|, etc. work. |
427 MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(std::ostream& out, | 426 MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(std::ostream& out, |
428 Dispatcher::Type type) { | 427 Dispatcher::Type type) { |
429 return out << static_cast<int>(type); | 428 return out << static_cast<int>(type); |
430 } | 429 } |
431 | 430 |
432 } // namespace system | 431 } // namespace system |
433 } // namespace mojo | 432 } // namespace mojo |
434 | 433 |
435 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ | 434 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ |
OLD | NEW |