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

Unified Diff: mojom/generators/c/templates/source.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
« no previous file with comments | « mojom/generators/c/templates/header.tmpl.go ('k') | sdk_build/data/cpp/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/generators/c/templates/source.tmpl.go
diff --git a/mojom/generators/c/templates/source.tmpl.go b/mojom/generators/c/templates/source.tmpl.go
index f295663574ccdaa9d1a0fd03a15685c43807b377..59e810b4d7e8a2e2af331d8691fb6675702d8532 100644
--- a/mojom/generators/c/templates/source.tmpl.go
+++ b/mojom/generators/c/templates/source.tmpl.go
@@ -10,11 +10,10 @@ const GenerateSourceFile = `
#include "{{.HeaderFile}}"
+#include <mojo/bindings/internal/type_descriptor.h>
#include <mojo/system/handle.h>
#include <stdbool.h>
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-
// Imports.
{{range $import := .Imports -}}
#include "{{$import}}"
« no previous file with comments | « mojom/generators/c/templates/header.tmpl.go ('k') | sdk_build/data/cpp/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698