| 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 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 class Channel; | 34 class Channel; |
| 35 class Core; | 35 class Core; |
| 36 class Dispatcher; | 36 class Dispatcher; |
| 37 class DispatcherTransport; | 37 class DispatcherTransport; |
| 38 class HandleTable; | 38 class HandleTable; |
| 39 class LocalMessagePipeEndpoint; | 39 class LocalMessagePipeEndpoint; |
| 40 class ProxyMessagePipeEndpoint; | 40 class ProxyMessagePipeEndpoint; |
| 41 class TransportData; | 41 class TransportData; |
| 42 class Awakable; | 42 class Awakable; |
| 43 | 43 |
| 44 typedef std::vector<scoped_refptr<Dispatcher>> DispatcherVector; | 44 using DispatcherVector = std::vector<scoped_refptr<Dispatcher>>; |
| 45 | 45 |
| 46 namespace test { | 46 namespace test { |
| 47 | 47 |
| 48 // Test helper. We need to declare it here so we can friend it. | 48 // Test helper. We need to declare it here so we can friend it. |
| 49 MOJO_SYSTEM_IMPL_EXPORT DispatcherTransport | 49 MOJO_SYSTEM_IMPL_EXPORT DispatcherTransport |
| 50 DispatcherTryStartTransport(Dispatcher* dispatcher); | 50 DispatcherTryStartTransport(Dispatcher* dispatcher); |
| 51 | 51 |
| 52 } // namespace test | 52 } // namespace test |
| 53 | 53 |
| 54 // A |Dispatcher| implements Mojo primitives that are "attached" to a particular | 54 // A |Dispatcher| implements Mojo primitives that are "attached" to a particular |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 | 396 |
| 397 Dispatcher* dispatcher_; | 397 Dispatcher* dispatcher_; |
| 398 | 398 |
| 399 // Copy and assign allowed. | 399 // Copy and assign allowed. |
| 400 }; | 400 }; |
| 401 | 401 |
| 402 } // namespace system | 402 } // namespace system |
| 403 } // namespace mojo | 403 } // namespace mojo |
| 404 | 404 |
| 405 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ | 405 #endif // MOJO_EDK_SYSTEM_DISPATCHER_H_ |
| OLD | NEW |