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

Unified Diff: mojo/public/c/include/mojo/system/time.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « mojo/public/c/include/mojo/system/message_pipe.h ('k') | mojo/public/c/include/mojo/system/wait.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/include/mojo/system/time.h
diff --git a/mojo/public/c/include/mojo/system/time.h b/mojo/public/c/include/mojo/system/time.h
deleted file mode 100644
index 35cdcb7b9ab01c767e10b49a5cd770fe59b8d759..0000000000000000000000000000000000000000
--- a/mojo/public/c/include/mojo/system/time.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file contains Mojo system time-related declarations/definitions.
-//
-// Note: This header should be compilable as C.
-
-#ifndef MOJO_PUBLIC_C_INCLUDE_MOJO_SYSTEM_TIME_H_
-#define MOJO_PUBLIC_C_INCLUDE_MOJO_SYSTEM_TIME_H_
-
-#include <mojo/macros.h>
-#include <stdint.h>
-
-// |MojoTimeTicks|: A time delta, in microseconds, the meaning of which is
-// source-dependent.
-
-typedef int64_t MojoTimeTicks;
-
-// |MojoDeadline|: Used to specify deadlines (timeouts), in microseconds (except
-// for |MOJO_DEADLINE_INDEFINITE|).
-// |MOJO_DEADLINE_INDEFINITE| - Used to indicate "forever".
-
-typedef uint64_t MojoDeadline;
-
-#define MOJO_DEADLINE_INDEFINITE ((MojoDeadline)-1)
-
-MOJO_BEGIN_EXTERN_C
-
-// |MojoGetTimeTicksNow()|: Returns the time, in microseconds, since some
-// undefined point in the past. The values are only meaningful relative to other
-// values that were obtained from the same device without an intervening system
-// restart. Such values are guaranteed to be monotonically non-decreasing with
-// the passage of real time. Although the units are microseconds, the resolution
-// of the clock may vary and is typically in the range of ~1-15 ms.
-MojoTimeTicks MojoGetTimeTicksNow(void);
-
-MOJO_END_EXTERN_C
-
-#endif // MOJO_PUBLIC_C_INCLUDE_MOJO_SYSTEM_TIME_H_
« no previous file with comments | « mojo/public/c/include/mojo/system/message_pipe.h ('k') | mojo/public/c/include/mojo/system/wait.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698