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_MESSAGE_PIPE_ENDPOINT_H_ | 5 #ifndef MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ |
6 #define MOJO_EDK_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ | 6 #define MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "mojo/edk/system/dispatcher.h" | |
16 #include "mojo/edk/system/memory.h" | |
17 #include "mojo/edk/system/message_in_transit.h" | |
18 #include "mojo/edk/system/system_impl_export.h" | |
19 #include "mojo/public/c/system/message_pipe.h" | 15 #include "mojo/public/c/system/message_pipe.h" |
20 #include "mojo/public/c/system/types.h" | 16 #include "mojo/public/c/system/types.h" |
| 17 #include "mojo/system/dispatcher.h" |
| 18 #include "mojo/system/memory.h" |
| 19 #include "mojo/system/message_in_transit.h" |
| 20 #include "mojo/system/system_impl_export.h" |
21 | 21 |
22 namespace mojo { | 22 namespace mojo { |
23 namespace system { | 23 namespace system { |
24 | 24 |
25 class ChannelEndpoint; | 25 class ChannelEndpoint; |
26 class Waiter; | 26 class Waiter; |
27 | 27 |
28 // This is an interface to one of the ends of a message pipe, and is used by | 28 // This is an interface to one of the ends of a message pipe, and is used by |
29 // |MessagePipe|. Its most important role is to provide a sink for messages | 29 // |MessagePipe|. Its most important role is to provide a sink for messages |
30 // (i.e., a place where messages can be sent). It has a secondary role: When the | 30 // (i.e., a place where messages can be sent). It has a secondary role: When the |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 protected: | 79 protected: |
80 MessagePipeEndpoint() {} | 80 MessagePipeEndpoint() {} |
81 | 81 |
82 private: | 82 private: |
83 DISALLOW_COPY_AND_ASSIGN(MessagePipeEndpoint); | 83 DISALLOW_COPY_AND_ASSIGN(MessagePipeEndpoint); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace system | 86 } // namespace system |
87 } // namespace mojo | 87 } // namespace mojo |
88 | 88 |
89 #endif // MOJO_EDK_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ | 89 #endif // MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ |
OLD | NEW |