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

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

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
deleted file mode 100644
index 8130715c7796d983a1bd3f832ec042a4e96b39ca..0000000000000000000000000000000000000000
--- a/mojo/public/interfaces/bindings/tests/sample_factory.mojom
+++ /dev/null
@@ -1,43 +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.
-
-[DartPackage="_mojo_for_test_only",
- JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"]
-module sample;
-
-import "sample_import.mojom";
-
-// 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;
- array<handle<message_pipe>>? more_pipes;
-
- // Interfaces can be used as members.
- imported.ImportedInterface? obj;
-};
-
-struct Response {
- int32 x;
- handle<message_pipe>? pipe;
-};
-
-[ServiceName="sample::NamedObject"]
-interface NamedObject {
- SetName(string name);
- GetName() => (string name);
-};
-
-interface Factory {
- DoStuff(Request request, handle<message_pipe>? pipe)
- => (Response response, string text);
- DoStuff2(handle<data_pipe_consumer> pipe) => (string text);
- CreateNamedObject(NamedObject& obj);
- RequestImportedInterface(imported.ImportedInterface& obj)
- => (imported.ImportedInterface& obj);
- TakeImportedInterface(imported.ImportedInterface obj)
- => (imported.ImportedInterface obj);
-};

Powered by Google App Engine
This is Rietveld 408576698