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

Unified Diff: mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java

Issue 540913003: mojo: Java bindings: Add name to the manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/java/bindings/src/org/chromium/mojo/bindings/Interface.java
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
index 52c3a13ad8827c7adc9f4358bd815b2b4f99d278..7afdc5ef13139f6462313f54300f8af92944295b 100644
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
+++ b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
@@ -174,6 +174,11 @@ public interface Interface extends ConnectionErrorHandler, Closeable {
abstract class Manager<I extends Interface, P extends Proxy> {
/**
+ * Returns the name of the interface. Used by the service provider to identify services.
ppi 2014/09/04 15:32:42 nit: Returns the name of the interface in the form
qsr 2014/09/04 15:48:20 Done.
+ */
+ public abstract String getName();
+
+ /**
* Binds the given implementation to the handle.
*/
public void bind(I impl, MessagePipeHandle handle) {

Powered by Google App Engine
This is Rietveld 408576698