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

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

Issue 376383002: Mojo: Add support for InterfacePtr as a struct member (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry Created 6 years, 5 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/sample_factory.mojom
diff --git a/mojo/public/interfaces/bindings/tests/sample_factory.mojom b/mojo/public/interfaces/bindings/tests/sample_factory.mojom
index 9385ee4669312c19c52aafe405505353a58e2106..97078287b34458321c9f69e0867df63b009fcdf2 100644
--- a/mojo/public/interfaces/bindings/tests/sample_factory.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_factory.mojom
@@ -14,6 +14,9 @@ struct Request {
int32 x;
handle<message_pipe> pipe;
handle<message_pipe>[] more_pipes;
+
+ // Interfaces can be used as members.
+ imported.ImportedInterface obj;
};
struct Response {
« no previous file with comments | « mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ('k') | mojo/public/interfaces/bindings/tests/sample_import.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698