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

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

Issue 219243011: Mojo: Move mojo/public/bindings/tests/*.mojom to mojo/public/interfaces/bindings/tests/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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
« no previous file with comments | « mojo/public/bindings/tests/math_calculator.mojom ('k') | mojo/public/bindings/tests/sample_import.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/tests/sample_factory.mojom
diff --git a/mojo/public/bindings/tests/sample_factory.mojom b/mojo/public/bindings/tests/sample_factory.mojom
deleted file mode 100644
index 15b771a100d8709a8871c75636392e693a2f7a6a..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/tests/sample_factory.mojom
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2013 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.
-
-module sample {
-
-// This sample shows how handles to MessagePipes can be sent as both parameters
-// to methods as well as fields on structs.
-
-struct Request {
- int32 x;
- handle<message_pipe> pipe;
-};
-
-struct Response {
- int32 x;
- handle<message_pipe> pipe;
-};
-
-[Peer=FactoryClient]
-interface Factory {
- DoStuff(Request request, handle<message_pipe> pipe);
- DoStuff2(handle<data_pipe_consumer> pipe);
-};
-
-[Peer=Factory]
-interface FactoryClient {
- DidStuff(Response response, string text);
- DidStuff2(string text);
-};
-
-} // module sample
« no previous file with comments | « mojo/public/bindings/tests/math_calculator.mojom ('k') | mojo/public/bindings/tests/sample_import.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698