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 38d8114fc1ccb47a5e0dac12d31c5a1e7d313efd..f1d892d2e37ae740dc7a9e09c53ace967bd19f36 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 |
@@ -17,9 +17,12 @@ import java.io.Closeable; |
* Base class for mojo generated interfaces. |
*/ |
public interface Interface extends ConnectionErrorHandler, Closeable { |
- |
/** |
- * The close method is called when the connection to the interface is closed. |
+ * If the interface is an implementation, the close method is called when the connection to the |
+ * implementation is closed. |
+ * <p> |
+ * If the interface is a proxy, the close method closes the connection to the implementation. |
+ * This method must be called before the proxy is released. |
* |
* @see java.io.Closeable#close() |
*/ |