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 ebf4b080990e26a9c3eb8f76f9da4d58c239296b..9dd9c037e198600e3c1df1a357ef043f47736e60 100644 |
--- a/chrome/browser/media/router/create_presentation_connection_request.h |
+++ b/chrome/browser/media/router/create_presentation_connection_request.h |
@@ -36,7 +36,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 |
@@ -60,7 +60,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. |