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

Unified Diff: mojo/public/c/include/mojo/bindings/internal/type_descriptor.h

Issue 2232833003: Change the canonical way to include the C bindings headers to <mojo/bindings/*.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_mojo_tests
Patch Set: rebased 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
Index: mojo/public/c/include/mojo/bindings/internal/type_descriptor.h
diff --git a/mojo/public/c/bindings/lib/type_descriptor.h b/mojo/public/c/include/mojo/bindings/internal/type_descriptor.h
similarity index 96%
rename from mojo/public/c/bindings/lib/type_descriptor.h
rename to mojo/public/c/include/mojo/bindings/internal/type_descriptor.h
index b5588f1e7c74ae32a8fb0776aeaf5669cb294242..bee56a473034262c203b9062f087037b0e18032c 100644
--- a/mojo/public/c/bindings/lib/type_descriptor.h
+++ b/mojo/public/c/include/mojo/bindings/internal/type_descriptor.h
@@ -21,19 +21,18 @@
// of |MojomTypeDescriptorUnionEntry|. Arrays are described with
// |MojomTypeDescriptorArray|.
-#ifndef MOJO_PUBLIC_C_BINDINGS_LIB_TYPE_DESCRIPTOR_H_
-#define MOJO_PUBLIC_C_BINDINGS_LIB_TYPE_DESCRIPTOR_H_
+#ifndef MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_INTERNAL_TYPE_DESCRIPTOR_H_
+#define MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_INTERNAL_TYPE_DESCRIPTOR_H_
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/internal/util.h>
+#include <mojo/bindings/validation.h>
#include <mojo/macros.h>
#include <mojo/system/handle.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/lib/util.h"
-#include "mojo/public/c/bindings/validation.h"
-
MOJO_BEGIN_EXTERN_C
// This enum is used in a type descriptor entry for the |elem_type| field, and
@@ -216,4 +215,4 @@ bool MojomType_DispatchDeepCopy(struct MojomBuffer* buffer,
MOJO_END_EXTERN_C
-#endif // MOJO_PUBLIC_C_BINDINGS_LIB_TYPE_DESCRIPTOR_H_
+#endif // MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_INTERNAL_TYPE_DESCRIPTOR_H_
« no previous file with comments | « mojo/public/c/include/mojo/bindings/interface.h ('k') | mojo/public/c/include/mojo/bindings/internal/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698