Index: chrome/browser/media/router/create_presentation_connection_request.cc |
diff --git a/chrome/browser/media/router/create_presentation_connection_request.cc b/chrome/browser/media/router/create_presentation_connection_request.cc |
index 49eb3edf850e55b6add0adc8cc8c93a81cc6fcaa..0dceafaee2a93682285da25b1c86c0107a12a8b0 100644 |
--- a/chrome/browser/media/router/create_presentation_connection_request.cc |
+++ b/chrome/browser/media/router/create_presentation_connection_request.cc |
@@ -8,7 +8,7 @@ |
#include "chrome/browser/media/router/route_request_result.h" |
#include "url/origin.h" |
-using content::PresentationSessionInfo; |
+using content::PresentationInfo; |
using content::PresentationError; |
namespace media_router { |
@@ -17,8 +17,8 @@ CreatePresentationConnectionRequest::CreatePresentationConnectionRequest( |
const RenderFrameHostId& render_frame_host_id, |
const std::vector<GURL>& presentation_urls, |
const url::Origin& frame_origin, |
- const PresentationSessionSuccessCallback& success_cb, |
- const PresentationSessionErrorCallback& error_cb) |
+ const PresentationConnectionCallback& success_cb, |
+ const PresentationConnectionErrorCallback& error_cb) |
: presentation_request_(render_frame_host_id, |
presentation_urls, |
frame_origin), |
@@ -43,8 +43,7 @@ void CreatePresentationConnectionRequest::InvokeSuccessCallback( |
DCHECK(!cb_invoked_); |
if (!cb_invoked_) { |
success_cb_.Run( |
- content::PresentationSessionInfo(presentation_url, presentation_id), |
- route); |
+ content::PresentationInfo(presentation_url, presentation_id), route); |
cb_invoked_ = true; |
} |
} |