| 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 <ostream> | 11 #include <ostream> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 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/edk/embedder/platform_handle_vector.h" | 17 #include "mojo/edk/embedder/platform_handle_vector.h" |
| 18 #include "mojo/edk/system/handle_signals_state.h" | 18 #include "mojo/edk/system/handle_signals_state.h" |
| 19 #include "mojo/edk/system/system_impl_export.h" | 19 #include "mojo/edk/system/system_impl_export.h" |
| 20 #include "third_party/mojo/src/mojo/public/c/system/buffer.h" | 20 #include "mojo/public/c/system/buffer.h" |
| 21 #include "third_party/mojo/src/mojo/public/c/system/data_pipe.h" | 21 #include "mojo/public/c/system/data_pipe.h" |
| 22 #include "third_party/mojo/src/mojo/public/c/system/message_pipe.h" | 22 #include "mojo/public/c/system/message_pipe.h" |
| 23 #include "third_party/mojo/src/mojo/public/c/system/types.h" | 23 #include "mojo/public/c/system/types.h" |
| 24 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | 24 #include "mojo/public/cpp/system/macros.h" |
| 25 | 25 |
| 26 namespace mojo { | 26 namespace mojo { |
| 27 namespace edk { | 27 namespace edk { |
| 28 | 28 |
| 29 class Core; | 29 class Core; |
| 30 class Dispatcher; | 30 class Dispatcher; |
| 31 class DispatcherTransport; | 31 class DispatcherTransport; |
| 32 class HandleTable; | 32 class HandleTable; |
| 33 class LocalMessagePipeEndpoint; | 33 class LocalMessagePipeEndpoint; |
| 34 class PlatformSharedBufferMapping; | 34 class PlatformSharedBufferMapping; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 // So logging macros and |DCHECK_EQ()|, etc. work. | 392 // So logging macros and |DCHECK_EQ()|, etc. work. |
| 393 MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(std::ostream& out, | 393 MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(std::ostream& out, |
| 394 Dispatcher::Type type) { | 394 Dispatcher::Type type) { |
| 395 return out << static_cast<int>(type); | 395 return out << static_cast<int>(type); |
| 396 } | 396 } |
| 397 | 397 |
| 398 } // namespace edk | 398 } // namespace edk |
| 399 } // namespace mojo | 399 } // namespace mojo |
| 400 | 400 |
| 401 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ | 401 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ |
| OLD | NEW |