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

Unified Diff: mojo/public/interfaces/bindings/tests/test_variant.mojom

Issue 1811853004: Mojo C++ bindigns: fix generated namespace when variant is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing new file Created 4 years, 9 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: mojo/public/interfaces/bindings/tests/test_variant.mojom
diff --git a/gpu/command_buffer/common/capabilities.mojom b/mojo/public/interfaces/bindings/tests/test_variant.mojom
similarity index 74%
copy from gpu/command_buffer/common/capabilities.mojom
copy to mojo/public/interfaces/bindings/tests/test_variant.mojom
index fd35409e940e193377d9411c182e99746220f2a7..318b6a77a93bf7a8f8e4e3a37a64ecd3859d7802 100644
--- a/gpu/command_buffer/common/capabilities.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_variant.mojom
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module gpu.mojom;
+module mojo.test;
-[Native]
-struct Capabilities;
+enum TestEnum {
+ VALUE1,
+ VALUE2
+};

Powered by Google App Engine
This is Rietveld 408576698