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

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

Issue 324783002: Mojo: Add a MojoCreateMessagePipeOptions struct parameter to MojoCreateMessagePipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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/public/platform/native/system_thunks.cc ('k') | mojo/system/core.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_CORE_H_ 5 #ifndef MOJO_SYSTEM_CORE_H_
6 #define MOJO_SYSTEM_CORE_H_ 6 #define MOJO_SYSTEM_CORE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 30 matching lines...) Expand all
41 // System calls implementation. 41 // System calls implementation.
42 MojoTimeTicks GetTimeTicksNow(); 42 MojoTimeTicks GetTimeTicksNow();
43 MojoResult Close(MojoHandle handle); 43 MojoResult Close(MojoHandle handle);
44 MojoResult Wait(MojoHandle handle, 44 MojoResult Wait(MojoHandle handle,
45 MojoWaitFlags flags, 45 MojoWaitFlags flags,
46 MojoDeadline deadline); 46 MojoDeadline deadline);
47 MojoResult WaitMany(const MojoHandle* handles, 47 MojoResult WaitMany(const MojoHandle* handles,
48 const MojoWaitFlags* flags, 48 const MojoWaitFlags* flags,
49 uint32_t num_handles, 49 uint32_t num_handles,
50 MojoDeadline deadline); 50 MojoDeadline deadline);
51 MojoResult CreateMessagePipe(MojoHandle* message_pipe_handle0, 51 MojoResult CreateMessagePipe(const MojoCreateMessagePipeOptions* options,
52 MojoHandle* message_pipe_handle0,
52 MojoHandle* message_pipe_handle1); 53 MojoHandle* message_pipe_handle1);
53 MojoResult WriteMessage(MojoHandle message_pipe_handle, 54 MojoResult WriteMessage(MojoHandle message_pipe_handle,
54 const void* bytes, 55 const void* bytes,
55 uint32_t num_bytes, 56 uint32_t num_bytes,
56 const MojoHandle* handles, 57 const MojoHandle* handles,
57 uint32_t num_handles, 58 uint32_t num_handles,
58 MojoWriteMessageFlags flags); 59 MojoWriteMessageFlags flags);
59 MojoResult ReadMessage(MojoHandle message_pipe_handle, 60 MojoResult ReadMessage(MojoHandle message_pipe_handle,
60 void* bytes, 61 void* bytes,
61 uint32_t* num_bytes, 62 uint32_t* num_bytes,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 122
122 // --------------------------------------------------------------------------- 123 // ---------------------------------------------------------------------------
123 124
124 DISALLOW_COPY_AND_ASSIGN(Core); 125 DISALLOW_COPY_AND_ASSIGN(Core);
125 }; 126 };
126 127
127 } // namespace system 128 } // namespace system
128 } // namespace mojo 129 } // namespace mojo
129 130
130 #endif // MOJO_SYSTEM_CORE_H_ 131 #endif // MOJO_SYSTEM_CORE_H_
OLDNEW
« no previous file with comments | « mojo/public/platform/native/system_thunks.cc ('k') | mojo/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698