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

Unified Diff: mojo/public/c/include/mojo/bindings/array.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/bindings/validation.h ('k') | mojo/public/c/include/mojo/bindings/buffer.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/array.h
diff --git a/mojo/public/c/bindings/array.h b/mojo/public/c/include/mojo/bindings/array.h
similarity index 96%
rename from mojo/public/c/bindings/array.h
rename to mojo/public/c/include/mojo/bindings/array.h
index 409a82b05db8e6119ac54db7b51d53a6449a1d3c..abbfbdc39639d6f8b4b87b2fc3348bca125b3137 100644
--- a/mojo/public/c/bindings/array.h
+++ b/mojo/public/c/include/mojo/bindings/array.h
@@ -2,15 +2,14 @@
// 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_ARRAY_H_
-#define MOJO_PUBLIC_C_BINDINGS_ARRAY_H_
+#ifndef MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_ARRAY_H_
+#define MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_ARRAY_H_
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/internal/type_descriptor.h>
#include <mojo/macros.h>
#include <stdint.h>
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-
MOJO_BEGIN_EXTERN_C
// The fields below are just the header of a mojom array. The bytes that
@@ -132,4 +131,4 @@ bool MojomArray_DeepCopy(struct MojomBuffer* buffer,
MOJO_END_EXTERN_C
-#endif // MOJO_PUBLIC_C_BINDINGS_ARRAY_H_
+#endif // MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_ARRAY_H_
« no previous file with comments | « mojo/public/c/bindings/validation.h ('k') | mojo/public/c/include/mojo/bindings/buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698