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

Unified Diff: examples/serialization/serialization.mojom

Issue 1412733002: C++ bindings: separate out serialization source set, have "mojom" targets optionally use serializat… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove unused --cpp_dataonly flag Created 5 years, 2 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: examples/serialization/serialization.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_included_unions.mojom b/examples/serialization/serialization.mojom
similarity index 53%
copy from mojo/public/interfaces/bindings/tests/test_included_unions.mojom
copy to examples/serialization/serialization.mojom
index 5c08681eda089a440f67369fadd07b6a4a0bd00f..5a431ea9337a572992f11355245a754ce72d7132 100644
--- a/mojo/public/interfaces/bindings/tests/test_included_unions.mojom
+++ b/examples/serialization/serialization.mojom
@@ -1,9 +1,11 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+// Use of this source code is governed by a BSD-style license that can be found
+// in the LICENSE file.
-module mojo.test;
+module mojo.examples;
-union IncludedUnion {
- int8 a;
+struct MyStruct {
+ int32 a;
+ float b;
+ string c;
};

Powered by Google App Engine
This is Rietveld 408576698