| Index: chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java b/chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java
|
| index 213e2195957e846372b66383b21b8ae35b23310a..0694b866815c88821866092249b7d7a401218f57 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java
|
| @@ -71,4 +71,13 @@ public interface MediaRouteProvider {
|
| * @param nativeCallbackId The id of the result callback tracked by the native side.
|
| */
|
| void sendStringMessage(String routeId, String message, int nativeCallbackId);
|
| +
|
| + /**
|
| + * Sends a binary message to the route with the given id. The route must be created by this
|
| + * provider.
|
| + * @param routeId The id of the route to send the message to.
|
| + * @param data The binary message to send.
|
| + * @param nativeCallbackId The id of the result callback tracked by the native side.
|
| + */
|
| + void sendBinaryMessage(String routeId, byte[] data, int nativeCallbackId);
|
| }
|
|
|