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

Unified Diff: mojo/public/platform/native/system_impl_private_thunks.h

Issue 1779353002: Deprecate mojo/public/c/system/core.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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/platform/native/system_impl_private_thunks.h
diff --git a/mojo/public/platform/native/system_impl_private_thunks.h b/mojo/public/platform/native/system_impl_private_thunks.h
index bb050faece592038f13f162e98c1229ec76aa452..c46f0d2ae7be687a7032825f582c715cb8fe1253 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -7,7 +7,10 @@
#ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
#define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
-#include "mojo/public/c/system/core.h"
+#include "mojo/public/c/system/buffer.h"
+#include "mojo/public/c/system/data_pipe.h"
+#include "mojo/public/c/system/message_pipe.h"
+#include "mojo/public/c/system/types.h"
#include "mojo/public/platform/native/system_impl_private.h"
// Structure used to bind the basic Mojo Core functions of a DSO to those of
@@ -17,8 +20,8 @@
#pragma pack(push, 8)
struct MojoSystemImplControlThunksPrivate {
size_t size; // Should be set to sizeof(MojoSystemImplThunks).
- MojoSystemImpl (*GetDefaultSystemImpl)();
- MojoSystemImpl (*CreateSystemImpl)();
+ MojoSystemImpl (*GetDefaultSystemImpl)(void);
+ MojoSystemImpl (*CreateSystemImpl)(void);
MojoResult (*TransferHandle)(MojoSystemImpl from_system,
MojoHandle handle,
MojoSystemImpl to_system,
@@ -149,7 +152,6 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplUnmapBuffer};
return system_thunks;
}
-
#endif
#endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
« no previous file with comments | « mojo/public/platform/native/system_impl_private.h ('k') | mojo/public/platform/native/system_impl_private_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698