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

Unified Diff: services/files/c/mojio_config.h

Issue 1133933002: Move //services/files/c -> //mojo/services/files/public/c. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove data dep Created 5 years, 7 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 | « services/files/c/lib/util.cc ('k') | services/files/c/mojio_fcntl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/c/mojio_config.h
diff --git a/services/files/c/mojio_config.h b/services/files/c/mojio_config.h
deleted file mode 100644
index b05f6d8b043979a8cf6c987b51c30c7f27b7d376..0000000000000000000000000000000000000000
--- a/services/files/c/mojio_config.h
+++ /dev/null
@@ -1,38 +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.
-
-// Configuration for other mojio_*.h. Note that this is a C header.
-//
-// Things in this file may be tweaked (the values of macros or the underlying
-// types for typedefs) as necessary/appropriate, but they should not be used
-// directly by application code.
-
-#ifndef SERVICES_FILES_C_MOJIO_CONFIG_H_
-#define SERVICES_FILES_C_MOJIO_CONFIG_H_
-
-// Macros ----------------------------------------------------------------------
-
-#define MOJIO_CONFIG_BUFSIZ 8192
-#define MOJIO_CONFIG_FILENAME_MAX 4096
-#define MOJIO_CONFIG_FOPEN_MAX 16
-
-// What to use for the C |restrict| keyword (not supported in C++).
-// TODO(vtl): Is this right?
-#define MOJIO_CONFIG_RESTRICT __restrict__
-
-// Maximum number of (simultaneously open) FDs.
-#define MOJIO_CONFIG_MAX_NUM_FDS 1024
-
-// Types -----------------------------------------------------------------------
-
-// We want types of exact bitwidths (since values will usually come from Mojo
-// messages), but we don't want to include <stdint.h> from our headers. Thus we
-// define our own. These are meant for internal use only.
-// TODO(vtl): Add static_assert()s/_Static_assert()s verifying the sizes.
-typedef int mojio_config_int32;
-typedef unsigned mojio_config_uint32;
-typedef long long mojio_config_int64;
-typedef unsigned long long mojio_config_uint64;
-
-#endif // SERVICES_FILES_C_MOJIO_CONFIG_H_
« no previous file with comments | « services/files/c/lib/util.cc ('k') | services/files/c/mojio_fcntl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698