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 #include "mojo/edk/system/core.h" | 5 #include "mojo/edk/system/core.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "mojo/edk/embedder/platform_support.h" | 12 #include "mojo/edk/embedder/platform_support.h" |
13 #include "mojo/edk/platform/platform_shared_buffer.h" | 13 #include "mojo/edk/platform/platform_shared_buffer.h" |
14 #include "mojo/edk/platform/time_ticks.h" | 14 #include "mojo/edk/platform/time_ticks.h" |
15 #include "mojo/edk/system/async_waiter.h" | 15 #include "mojo/edk/system/async_waiter.h" |
16 #include "mojo/edk/system/configuration.h" | 16 #include "mojo/edk/system/configuration.h" |
17 #include "mojo/edk/system/data_pipe.h" | 17 #include "mojo/edk/system/data_pipe.h" |
18 #include "mojo/edk/system/data_pipe_consumer_dispatcher.h" | 18 #include "mojo/edk/system/data_pipe_consumer_dispatcher.h" |
19 #include "mojo/edk/system/data_pipe_producer_dispatcher.h" | 19 #include "mojo/edk/system/data_pipe_producer_dispatcher.h" |
20 #include "mojo/edk/system/dispatcher.h" | 20 #include "mojo/edk/system/dispatcher.h" |
21 #include "mojo/edk/system/handle_signals_state.h" | 21 #include "mojo/edk/system/handle_signals_state.h" |
| 22 #include "mojo/edk/system/handle_transport.h" |
22 #include "mojo/edk/system/memory.h" | 23 #include "mojo/edk/system/memory.h" |
23 #include "mojo/edk/system/message_pipe.h" | 24 #include "mojo/edk/system/message_pipe.h" |
24 #include "mojo/edk/system/message_pipe_dispatcher.h" | 25 #include "mojo/edk/system/message_pipe_dispatcher.h" |
25 #include "mojo/edk/system/shared_buffer_dispatcher.h" | 26 #include "mojo/edk/system/shared_buffer_dispatcher.h" |
26 #include "mojo/edk/system/waiter.h" | 27 #include "mojo/edk/system/waiter.h" |
27 #include "mojo/public/c/system/macros.h" | 28 #include "mojo/public/c/system/macros.h" |
28 #include "mojo/public/cpp/system/macros.h" | 29 #include "mojo/public/cpp/system/macros.h" |
29 | 30 |
30 using mojo::platform::GetTimeTicks; | 31 using mojo::platform::GetTimeTicks; |
31 using mojo::platform::PlatformSharedBufferMapping; | 32 using mojo::platform::PlatformSharedBufferMapping; |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 if (signals_states) { | 702 if (signals_states) { |
702 for (; i < num_handles; i++) | 703 for (; i < num_handles; i++) |
703 signals_states[i] = dispatchers[i]->GetHandleSignalsState(); | 704 signals_states[i] = dispatchers[i]->GetHandleSignalsState(); |
704 } | 705 } |
705 | 706 |
706 return result; | 707 return result; |
707 } | 708 } |
708 | 709 |
709 } // namespace system | 710 } // namespace system |
710 } // namespace mojo | 711 } // namespace mojo |
OLD | NEW |