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

Unified Diff: mojo/public/bindings/sample/sample_service.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_public.gypi ('k') | mojo/public/bindings/sample/sample_service_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/sample/sample_service.mojom
diff --git a/mojo/public/bindings/sample/sample_service.mojom b/mojo/public/bindings/sample/sample_service.mojom
deleted file mode 100644
index e2ad62cbae9777c230c6f389e8afe77768570cac..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/sample/sample_service.mojom
+++ /dev/null
@@ -1,51 +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 {
-
-enum BarType {
- BAR_VERTICAL = 1 << 0,
- BAR_HORIZONTAL = (1 << 1) + 0,
- BAR_BOTH = BAR_VERTICAL | BAR_HORIZONTAL,
- BAR_INVALID
-};
-
-struct Bar {
- uint8 alpha @0;
- uint8 beta @1;
- uint8 gamma @2;
- int32 type @3;
-};
-
-[RequiredFields=7]
-struct Foo {
- string name @8;
- int32 x @0;
- int32 y @1;
- bool a @2;
- bool b @3;
- bool c @4;
- Bar bar @5;
- Bar[] extra_bars @7;
- uint8[] data @6;
- handle<message_pipe> source @9;
- handle<data_pipe_consumer>[] input_streams @10;
- handle<data_pipe_producer>[] output_streams @11;
-};
-
-[Peer=ServiceClient]
-interface Service {
- enum BazOptions {
- BAZ_REGULAR = 0,
- BAZ_EXTRA
- };
- void Frobinate(Foo foo @0, int32 baz @1, handle<message_pipe> port @2) @0;
-};
-
-[Peer=Service]
-interface ServiceClient {
- void DidFrobinate(int32 result @0) @0;
-};
-
-}
« no previous file with comments | « mojo/mojo_public.gypi ('k') | mojo/public/bindings/sample/sample_service_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698