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

Unified Diff: mojom/generators/c/templates/header.tmpl.go

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: mojom/generators/c/templates/header.tmpl.go
diff --git a/mojom/generators/c/templates/header.tmpl.go b/mojom/generators/c/templates/header.tmpl.go
index 46bcaa1ef233a9bfc26d9784fe77e62872c327fa..31ca9a9b6ca21ce7db906d6544e6056af6360a1f 100644
--- a/mojom/generators/c/templates/header.tmpl.go
+++ b/mojom/generators/c/templates/header.tmpl.go
@@ -15,19 +15,18 @@ const GenerateHeaderFile = `
#include <assert.h>
#include <math.h>
+#include <mojo/bindings/array.h>
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/interface.h>
+#include <mojo/bindings/internal/type_descriptor.h>
+#include <mojo/bindings/map.h>
+#include <mojo/bindings/string.h>
+#include <mojo/bindings/validation.h>
#include <mojo/macros.h>
#include <mojo/system/handle.h>
#include <stdbool.h>
#include <stdint.h>
-#include "mojo/public/c/bindings/array.h"
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/interface.h"
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-#include "mojo/public/c/bindings/map.h"
-#include "mojo/public/c/bindings/string.h"
-#include "mojo/public/c/bindings/validation.h"
-
// Imports.
{{range $import := .Imports -}}
#include "{{$import}}"
« no previous file with comments | « mojo/public/tools/bindings/mojom_tool/bin/mac64/generators/c.sha1 ('k') | mojom/generators/c/templates/source.tmpl.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698