Index: content/browser/presentation/presentation_service_impl.cc |
diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc |
index f09402da93cd25866d8454e9d01ecaa915563202..b1d84ed720fca4a441be433eaffd04523f029e6d 100644 |
--- a/content/browser/presentation/presentation_service_impl.cc |
+++ b/content/browser/presentation/presentation_service_impl.cc |
@@ -356,18 +356,6 @@ PresentationServiceImpl::GetPresentationServiceDelegate() { |
: static_cast<PresentationServiceDelegate*>(controller_delegate_); |
} |
-void PresentationServiceImpl::ListenForConnectionMessages( |
- const PresentationInfo& presentation_info) { |
- DVLOG(2) << "ListenForConnectionMessages"; |
- if (!controller_delegate_) |
- return; |
- |
- controller_delegate_->ListenForConnectionMessages( |
- render_process_id_, render_frame_id_, presentation_info, |
- base::Bind(&PresentationServiceImpl::OnConnectionMessages, |
- weak_factory_.GetWeakPtr(), presentation_info)); |
-} |
- |
void PresentationServiceImpl::SetPresentationConnection( |
const PresentationInfo& presentation_info, |
blink::mojom::PresentationConnectionPtr controller_connection_ptr, |
@@ -383,16 +371,6 @@ void PresentationServiceImpl::SetPresentationConnection( |
std::move(receiver_connection_request)); |
} |
-void PresentationServiceImpl::OnConnectionMessages( |
- const PresentationInfo& presentation_info, |
- std::vector<PresentationConnectionMessage> messages) { |
- DCHECK(client_); |
- |
- DVLOG(2) << "OnConnectionMessages [id]: " |
- << presentation_info.presentation_id; |
- client_->OnConnectionMessagesReceived(presentation_info, std::move(messages)); |
-} |
- |
void PresentationServiceImpl::OnReceiverConnectionAvailable( |
const content::PresentationInfo& presentation_info, |
PresentationConnectionPtr controller_connection_ptr, |