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

Unified Diff: examples/c/echo_client/echo_client.c

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 | « no previous file | mojo/public/c/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/c/echo_client/echo_client.c
diff --git a/examples/c/echo_client/echo_client.c b/examples/c/echo_client/echo_client.c
index 2e30e09ff811d28e27a117753892bf53bc1872be..e8150351c856f5bdfc236d4ada6bcee1f5cea532 100644
--- a/examples/c/echo_client/echo_client.c
+++ b/examples/c/echo_client/echo_client.c
@@ -9,6 +9,8 @@
// encoding order and can be error-prone, but fast.
#include <assert.h>
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/message.h>
#include <mojo/macros.h>
#include <mojo/result.h>
#include <mojo/system/main.h>
@@ -18,8 +20,6 @@
#include <string.h>
#include "examples/echo/echo.mojom-c.h"
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/message.h"
#include "mojo/public/interfaces/application/application.mojom-c.h"
#include "mojo/public/interfaces/application/application_connector.mojom-c.h"
#include "mojo/public/interfaces/application/shell.mojom-c.h"
« no previous file with comments | « no previous file | mojo/public/c/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698