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

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: address comments from previous patch 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
« no previous file with comments | « examples/serialization/main.cc ('k') | mojo/PRESUBMIT.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/serialization/serialization.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_included_unions.mojom b/examples/serialization/serialization.mojom
similarity index 54%
copy from mojo/public/interfaces/bindings/tests/test_included_unions.mojom
copy to examples/serialization/serialization.mojom
index 5c08681eda089a440f67369fadd07b6a4a0bd00f..5107760fdcc4aeb1529e5e40254f65566c7a8d25 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 examples;
-union IncludedUnion {
- int8 a;
+struct MyStruct {
+ int32 a;
+ float b;
+ string c;
};
« no previous file with comments | « examples/serialization/main.cc ('k') | mojo/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698