Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: mojo/system/message_pipe_dispatcher.h

Issue 345463003: Mojo: MojoWaitFlags -> MojoHandleSignals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | mojo/system/message_pipe_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | mojo/system/message_pipe_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698