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

Unified Diff: mojo/public/c/include/mojo/bindings/union.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
« no previous file with comments | « mojo/public/c/include/mojo/bindings/struct.h ('k') | mojo/public/c/include/mojo/bindings/validation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/include/mojo/bindings/union.h
diff --git a/mojo/public/c/bindings/union.h b/mojo/public/c/include/mojo/bindings/union.h
similarity index 94%
rename from mojo/public/c/bindings/union.h
rename to mojo/public/c/include/mojo/bindings/union.h
index 066f773cbaa18004867eacab61937bbf4686730d..345f7b450e80af7ec3370737c79555109d9d89ba 100644
--- a/mojo/public/c/bindings/union.h
+++ b/mojo/public/c/include/mojo/bindings/union.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_PUBLIC_C_BINDINGS_UNION_H_
-#define MOJO_PUBLIC_C_BINDINGS_UNION_H_
+#ifndef MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_UNION_H_
+#define MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_UNION_H_
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/internal/type_descriptor.h>
+#include <mojo/bindings/internal/util.h>
#include <mojo/macros.h>
#include <stddef.h>
#include <stdint.h>
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-#include "mojo/public/c/bindings/lib/util.h"
-
MOJO_BEGIN_EXTERN_C
struct MojomUnionLayout {
@@ -116,4 +115,4 @@ bool MojomUnion_DeepCopy(struct MojomBuffer* buffer,
MOJO_END_EXTERN_C
-#endif // MOJO_PUBLIC_C_BINDINGS_UNION_H_
+#endif // MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_UNION_H_
« no previous file with comments | « mojo/public/c/include/mojo/bindings/struct.h ('k') | mojo/public/c/include/mojo/bindings/validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698