Index: chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc |
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc b/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc |
index 87307234eff9797c65f93598caa414b4f21ea27d..61e296e7f42a1d83e44e3760398b102b918742dc 100644 |
--- a/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc |
+++ b/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc |
@@ -74,13 +74,13 @@ class MockCreatePresentationConnnectionCallbacks { |
class MockOffscreenPresentationManager : public OffscreenPresentationManager { |
public: |
void RegisterOffscreenPresentationController( |
- const std::string& presentation_id, |
- const GURL& presentation_url, |
+ const content::PresentationInfo& presentation_info, |
const RenderFrameHostId& render_frame_id, |
content::PresentationConnectionPtr controller, |
content::PresentationConnectionRequest, |
const MediaRoute& route) override { |
- RegisterOffscreenPresentationController(presentation_id, presentation_url, |
+ RegisterOffscreenPresentationController(presentation_info.presentation_id, |
+ presentation_info.presentation_url, |
render_frame_id, route); |
} |
@@ -92,9 +92,8 @@ class MockOffscreenPresentationManager : public OffscreenPresentationManager { |
MOCK_METHOD2(UnregisterOffscreenPresentationController, |
void(const std::string& presentation_id, |
const RenderFrameHostId& render_frame_id)); |
- MOCK_METHOD3(OnOffscreenPresentationReceiverCreated, |
- void(const std::string& presentation_id, |
- const GURL& presentation_url, |
+ MOCK_METHOD2(OnOffscreenPresentationReceiverCreated, |
+ void(const content::PresentationInfo& presentation_info, |
const content::ReceiverConnectionAvailableCallback& |
receiver_callback)); |
MOCK_METHOD1(OnOffscreenPresentationReceiverTerminated, |