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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteProvider.java

Issue 1478163002: [Cast,Android,Presentation API] Split CastRouteController into session and media routes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed ArraySet to HashSet Created 5 years, 1 month 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: 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 0694b866815c88821866092249b7d7a401218f57..58bd6cd172255af91b244b2b769acfe83d9495ab 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
@@ -33,12 +33,13 @@ public interface MediaRouteProvider {
* Tries to create a media route from the given media source to the media sink.
* @param sourceId The source to create the route for.
* @param sinkId The sink to create the route for.
+ * @param presentationId The presentation id generated for this route.
* @param origin The origin of the frame initiating the request.
* @param tabId The id of the tab containing the frame initiating the request.
* @param nativeRequestId The id of the request tracked by the native side.
*/
- void createRoute(String sourceId, String sinkId, String routeId, String origin, int tabId,
- int nativeRequestId);
+ void createRoute(String sourceId, String sinkId, String presentationId, String origin,
+ int tabId, int nativeRequestId);
/**
* Tries to join an existing media route for the given media source and presentation id.

Powered by Google App Engine
This is Rietveld 408576698