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

Unified Diff: mojo/services/files/public/c/mojio_time.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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/services/files/public/c/mojio_sys_types.h ('k') | mojo/services/files/public/c/mojio_unistd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/files/public/c/mojio_time.h
diff --git a/mojo/services/files/public/c/mojio_time.h b/mojo/services/files/public/c/mojio_time.h
deleted file mode 100644
index 70083a90ebbd296cf314287c26b322cf48aade7b..0000000000000000000000000000000000000000
--- a/mojo/services/files/public/c/mojio_time.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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.
-
-// Partial <time.h>-lookalike-ish. Note that this is a C header, so that crappy
-// (and non-crappy) C programs can use it.
-//
-// In general, functions/types/macros are given "mojio_"/"MOJIO_"/etc. prefixes.
-// There are a handful of exceptions (noted below).
-//
-// Ordinarily, we'd just use |time_t| from <time.h> (since that's provided by
-// the C standard), but |time_t| is opaque. Thus we need to define our own
-// equivalent. On top of that, we need to define a |struct timespec| equivalent.
-
-#ifndef MOJO_SERVICES_FILES_PUBLIC_C_MOJIO_TIME_H_
-#define MOJO_SERVICES_FILES_PUBLIC_C_MOJIO_TIME_H_
-
-// Includes --------------------------------------------------------------------
-
-#include "files/public/c/mojio_config.h"
-
-// Types -----------------------------------------------------------------------
-
-typedef mojio_config_int64 mojio_time_t;
-
-struct mojio_timespec {
- mojio_time_t tv_sec;
- long tv_nsec;
-};
-
-#endif // MOJO_SERVICES_FILES_PUBLIC_C_MOJIO_TIME_H_
« no previous file with comments | « mojo/services/files/public/c/mojio_sys_types.h ('k') | mojo/services/files/public/c/mojio_unistd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698