Index: chrome/browser/media/android/router/media_router_dialog_controller_android.h |
diff --git a/chrome/browser/media/android/router/media_router_dialog_controller_android.h b/chrome/browser/media/android/router/media_router_dialog_controller_android.h |
index 1d74b1e9e4062f85a5bb775d2cd22615141acc27..ffb9c4c99ec08e22b282f1aaa72da219c55f281f 100644 |
--- a/chrome/browser/media/android/router/media_router_dialog_controller_android.h |
+++ b/chrome/browser/media/android/router/media_router_dialog_controller_android.h |
@@ -43,6 +43,11 @@ class MediaRouterDialogControllerAndroid |
// taking any action (e.g. closing the route or selecting a sink). |
void OnDialogCancelled(JNIEnv* env, |
const base::android::JavaParamRef<jobject>& obj); |
+ // Notifies the controller the media source URN is not supported so it could |
+ // properly reject the request. |
+ void OnMediaSourceNotSupported( |
+ JNIEnv* env, |
+ const base::android::JavaParamRef<jobject>& obj); |
private: |
friend class content::WebContentsUserData<MediaRouterDialogControllerAndroid>; |