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

Side by Side Diff: mojo/public/platform/native/system_impl_private_thunks.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_THUNKS_H_ 7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_ 8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_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 #include "mojo/public/platform/native/system_impl_private.h" 16 #include "mojo/public/platform/native/system_impl_private.h"
17 17
18 // Structure used to bind the basic Mojo Core functions of a DSO to those of 18 // Structure used to bind the basic Mojo Core functions of a DSO to those of
19 // the embedder. 19 // the embedder.
20 // This is the ABI between the embedder and the DSO. It can only have new 20 // This is the ABI between the embedder and the DSO. It can only have new
21 // functions added to the end. No other changes are supported. 21 // functions added to the end. No other changes are supported.
22 #pragma pack(push, 8) 22 #pragma pack(push, 8)
23 struct MojoSystemImplControlThunksPrivate { 23 struct MojoSystemImplControlThunksPrivate {
24 size_t size; // Should be set to sizeof(MojoSystemImplThunks). 24 size_t size; // Should be set to sizeof(MojoSystemImplThunks).
25 MojoSystemImpl (*GetDefaultSystemImpl)(void); 25 MojoSystemImpl (*GetDefaultSystemImpl)(void);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 MojoSystemImplCreateSharedBuffer, 150 MojoSystemImplCreateSharedBuffer,
151 MojoSystemImplDuplicateBufferHandle, 151 MojoSystemImplDuplicateBufferHandle,
152 MojoSystemImplGetBufferInformation, 152 MojoSystemImplGetBufferInformation,
153 MojoSystemImplMapBuffer, 153 MojoSystemImplMapBuffer,
154 MojoSystemImplUnmapBuffer}; 154 MojoSystemImplUnmapBuffer};
155 return system_thunks; 155 return system_thunks;
156 } 156 }
157 #endif 157 #endif
158 158
159 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_ 159 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698