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

Side by Side Diff: mojo/public/tests/bindings/sample_factory.mojom

Issue 134823005: Mojo: re-organize public tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module sample { 5 module sample {
6 6
7 // This sample shows how handles to MessagePipes can be sent as both parameters 7 // This sample shows how handles to MessagePipes can be sent as both parameters
8 // to methods as well as fields on structs. 8 // to methods as well as fields on structs.
9 9
10 struct Request { 10 struct Request {
(...skipping 10 matching lines...) Expand all
21 interface Factory { 21 interface Factory {
22 void DoStuff(Request request, handle<message_pipe> pipe); 22 void DoStuff(Request request, handle<message_pipe> pipe);
23 }; 23 };
24 24
25 [Peer=Factory] 25 [Peer=Factory]
26 interface FactoryClient { 26 interface FactoryClient {
27 void DidStuff(Response response, string text); 27 void DidStuff(Response response, string text);
28 }; 28 };
29 29
30 } // module sample 30 } // module sample
OLDNEW
« no previous file with comments | « mojo/public/tests/bindings/remote_ptr_unittest.cc ('k') | mojo/public/tests/bindings/sample_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698