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

Side by Side Diff: mojo/public/platform/native/system_impl_private.h

Issue 1783623005: Add mojo/c/system/{time.h,wait.h}. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
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 // Note: This header should be compilable as C. 5 // Note: This header should be compilable as C.
6 6
7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ 7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_
8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ 8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_
9 9
10 #include "mojo/public/c/system/buffer.h" 10 #include "mojo/public/c/system/buffer.h"
11 #include "mojo/public/c/system/data_pipe.h" 11 #include "mojo/public/c/system/data_pipe.h"
12 #include "mojo/public/c/system/handle.h" 12 #include "mojo/public/c/system/handle.h"
13 #include "mojo/public/c/system/message_pipe.h" 13 #include "mojo/public/c/system/message_pipe.h"
14 #include "mojo/public/c/system/result.h" 14 #include "mojo/public/c/system/result.h"
15 #include "mojo/public/c/system/types.h" 15 #include "mojo/public/c/system/time.h"
16 16
17 // This interface provides the Mojo system API, but with the ability to confine 17 // This interface provides the Mojo system API, but with the ability to confine
18 // calls to a specific handle namespace. Handles in one namespace are unrelated 18 // calls to a specific handle namespace. Handles in one namespace are unrelated
19 // to handles in another namespace. Two ends of a pipe may live in different 19 // to handles in another namespace. Two ends of a pipe may live in different
20 // handle namespaces, however. 20 // handle namespaces, however.
21 21
22 typedef void* MojoSystemImpl; 22 typedef void* MojoSystemImpl;
23 23
24 #ifdef __cplusplus 24 #ifdef __cplusplus
25 extern "C" { 25 extern "C" {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 uint64_t num_bytes, 135 uint64_t num_bytes,
136 void** buffer, 136 void** buffer,
137 MojoMapBufferFlags flags); 137 MojoMapBufferFlags flags);
138 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer); 138 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer);
139 139
140 #ifdef __cplusplus 140 #ifdef __cplusplus
141 } // extern "C" 141 } // extern "C"
142 #endif // __cplusplus 142 #endif // __cplusplus
143 143
144 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ 144 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698