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

Unified Diff: mojo/not-to-commit/mojo_public_test_interfaces/src/org/chromium/mojo/bindings/test/mojom/sample/Service.java

Issue 411913002: mojo: generate Proxies and Stubs for java bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Follow first pass review. Created 6 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/not-to-commit/mojo_public_test_interfaces/src/org/chromium/mojo/bindings/test/mojom/sample/Service.java
diff --git a/mojo/not-to-commit/mojo_public_test_interfaces/src/org/chromium/mojo/bindings/test/mojom/sample/Service.java b/mojo/not-to-commit/mojo_public_test_interfaces/src/org/chromium/mojo/bindings/test/mojom/sample/Service.java
new file mode 100644
index 0000000000000000000000000000000000000000..3b02902b95c77d85c851a5f73eb475dbc64201b9
--- /dev/null
+++ b/mojo/not-to-commit/mojo_public_test_interfaces/src/org/chromium/mojo/bindings/test/mojom/sample/Service.java
@@ -0,0 +1,35 @@
+// Copyright 2014 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.
+
+// This file is autogenerated by:
+// mojo/public/tools/bindings/mojom_bindings_generator.py
+// For:
+// mojo/public/interfaces/bindings/tests/sample_service.mojom
+//
+
+package org.chromium.mojo.bindings.test.mojom.sample;
+
+public interface Service extends org.chromium.mojo.bindings.InterfaceWithClient<ServiceClient> {
+
+ public static final byte FAVORITE_BAZ = (byte) 1L;
+
+ public static final class BazOptions {
+
+ public static final int REGULAR = (int) (0L);
+ public static final int EXTRA = REGULAR + 1;
+
+ private BazOptions() {}
+
+ }
+
+ public interface Proxy extends Service, org.chromium.mojo.bindings.InterfaceWithClient.Proxy<ServiceClient> {
+ }
+
+ Builder<ServiceClient, Service, Service.Proxy> BUILDER = ServiceInternal.BUILDER;
+
+ void frobinate(Foo foo, int baz, Port port);
+
+ void getPort(org.chromium.mojo.bindings.InterfaceRequest<Port.Proxy> port);
+}
+

Powered by Google App Engine
This is Rietveld 408576698