Index: chrome/browser/media/router/create_presentation_connection_request.h |
diff --git a/chrome/browser/media/router/create_presentation_connection_request.h b/chrome/browser/media/router/create_presentation_connection_request.h |
index 0a41890490c52f5a2085ed13e5deea9db43db9fd..1b323c51a22aa10ab32eaa2a3eca09acd934e20f 100644 |
--- a/chrome/browser/media/router/create_presentation_connection_request.h |
+++ b/chrome/browser/media/router/create_presentation_connection_request.h |
@@ -34,7 +34,7 @@ class CreatePresentationConnectionRequest { |
public: |
using PresentationSessionSuccessCallback = |
base::Callback<void(const content::PresentationSessionInfo&, |
- const MediaRoute::Id&)>; |
+ const MediaRoute&)>; |
using PresentationSessionErrorCallback = |
content::PresentationSessionErrorCallback; |
// |presentation_url|: The presentation URL of the request. Must be a valid |
@@ -58,7 +58,7 @@ class CreatePresentationConnectionRequest { |
// These functions can only be invoked once per instance. It is an error |
// to invoke these functions more than once. |
void InvokeSuccessCallback(const std::string& presentation_id, |
- const MediaRoute::Id& route_id); |
+ const MediaRoute& route); |
void InvokeErrorCallback(const content::PresentationError& error); |
// Handle route creation/joining response by invoking the right callback. |