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_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ | 5 #ifndef MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ |
6 #define MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ | 6 #define MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 const void* bytes, | 82 const void* bytes, |
83 uint32_t num_bytes, | 83 uint32_t num_bytes, |
84 std::vector<DispatcherTransport>* transports, | 84 std::vector<DispatcherTransport>* transports, |
85 MojoWriteMessageFlags flags) OVERRIDE; | 85 MojoWriteMessageFlags flags) OVERRIDE; |
86 virtual MojoResult ReadMessageImplNoLock(void* bytes, | 86 virtual MojoResult ReadMessageImplNoLock(void* bytes, |
87 uint32_t* num_bytes, | 87 uint32_t* num_bytes, |
88 DispatcherVector* dispatchers, | 88 DispatcherVector* dispatchers, |
89 uint32_t* num_dispatchers, | 89 uint32_t* num_dispatchers, |
90 MojoReadMessageFlags flags) OVERRIDE; | 90 MojoReadMessageFlags flags) OVERRIDE; |
91 virtual MojoResult AddWaiterImplNoLock(Waiter* waiter, | 91 virtual MojoResult AddWaiterImplNoLock(Waiter* waiter, |
92 MojoWaitFlags flags, | 92 MojoHandleSignals signals, |
93 uint32_t context) OVERRIDE; | 93 uint32_t context) OVERRIDE; |
94 virtual void RemoveWaiterImplNoLock(Waiter* waiter) OVERRIDE; | 94 virtual void RemoveWaiterImplNoLock(Waiter* waiter) OVERRIDE; |
95 virtual void StartSerializeImplNoLock(Channel* channel, | 95 virtual void StartSerializeImplNoLock(Channel* channel, |
96 size_t* max_size, | 96 size_t* max_size, |
97 size_t* max_platform_handles) OVERRIDE; | 97 size_t* max_platform_handles) OVERRIDE; |
98 virtual bool EndSerializeAndCloseImplNoLock( | 98 virtual bool EndSerializeAndCloseImplNoLock( |
99 Channel* channel, | 99 Channel* channel, |
100 void* destination, | 100 void* destination, |
101 size_t* actual_size, | 101 size_t* actual_size, |
102 embedder::PlatformHandleVector* platform_handles) OVERRIDE; | 102 embedder::PlatformHandleVector* platform_handles) OVERRIDE; |
(...skipping 19 matching lines...) Expand all Loading... |
122 return static_cast<MessagePipeDispatcher*>(dispatcher()); | 122 return static_cast<MessagePipeDispatcher*>(dispatcher()); |
123 } | 123 } |
124 | 124 |
125 // Copy and assign allowed. | 125 // Copy and assign allowed. |
126 }; | 126 }; |
127 | 127 |
128 } // namespace system | 128 } // namespace system |
129 } // namespace mojo | 129 } // namespace mojo |
130 | 130 |
131 #endif // MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ | 131 #endif // MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ |
OLD | NEW |