OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROKER_H_ | 5 #ifndef MOJO_EDK_SYSTEM_BROKER_H_ |
6 #define MOJO_EDK_SYSTEM_BROKER_H_ | 6 #define MOJO_EDK_SYSTEM_BROKER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 | 10 |
10 #include "mojo/edk/embedder/scoped_platform_handle.h" | 11 #include "mojo/edk/embedder/scoped_platform_handle.h" |
11 | 12 |
12 namespace mojo { | 13 namespace mojo { |
13 namespace edk { | 14 namespace edk { |
14 class MessagePipeDispatcher; | 15 class MessagePipeDispatcher; |
15 class RawChannel; | 16 class RawChannel; |
16 | 17 |
17 // An interface for communicating to a central "broker" process from each | 18 // An interface for communicating to a central "broker" process from each |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // It's ok to call this from a callback (i.e. from OnError or | 59 // It's ok to call this from a callback (i.e. from OnError or |
59 // GotNonTransferableChannel). | 60 // GotNonTransferableChannel). |
60 virtual void CloseMessagePipe(uint64_t pipe_id, | 61 virtual void CloseMessagePipe(uint64_t pipe_id, |
61 MessagePipeDispatcher* message_pipe) = 0; | 62 MessagePipeDispatcher* message_pipe) = 0; |
62 }; | 63 }; |
63 | 64 |
64 } // namespace edk | 65 } // namespace edk |
65 } // namespace mojo | 66 } // namespace mojo |
66 | 67 |
67 #endif // MOJO_EDK_SYSTEM_BROKER_H_ | 68 #endif // MOJO_EDK_SYSTEM_BROKER_H_ |
OLD | NEW |