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

Unified Diff: mojo/edk/system/core.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 side-by-side diff with in-line comments
Download patch
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index f1ce1921731c245207b660c0fc6c0a7a97eb7dd8..1f4abe5807f74ca324cec91a2b33ae719e5dc5a5 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -20,7 +20,7 @@
#include "mojo/public/c/system/handle.h"
#include "mojo/public/c/system/message_pipe.h"
#include "mojo/public/c/system/result.h"
-#include "mojo/public/c/system/types.h"
+#include "mojo/public/c/system/time.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -83,10 +83,17 @@ class Core {
// of these methods is to look at the header files defining the corresponding
// API functions, referenced below.
- // These methods correspond to the API functions defined in
- // "mojo/public/c/system/functions.h":
+ // This method corresponds to the API function defined in
+ // "mojo/public/c/system/time.h":
+
MojoTimeTicks GetTimeTicksNow();
+
+ // This method corresponds to the API function defined in
+ // "mojo/public/c/system/handle.h":
MojoResult Close(MojoHandle handle);
+
+ // These methods correspond to the API functions defined in
+ // "mojo/public/c/system/wait.h":
MojoResult Wait(MojoHandle handle,
MojoHandleSignals signals,
MojoDeadline deadline,

Powered by Google App Engine
This is Rietveld 408576698