Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: content/browser/presentation/presentation_service_impl.cc

Issue 2471573005: [Presentation API] (5th) (1-UA) integrate controller and receiver side for 1-UA messaging (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f575a0e42f8d7af30ebb65f3724960de6e059c8e..0a7840c70d626408b61c23892e40af37a53b14a5 100644
--- a/content/browser/presentation/presentation_service_impl.cc
+++ b/content/browser/presentation/presentation_service_impl.cc
@@ -526,6 +526,10 @@ void PresentationServiceImpl::OnReceiverConnectionAvailable(
const content::PresentationSessionInfo& session_info,
PresentationConnectionPtr&& controller) {
DVLOG(2) << "PresentationServiceImpl::OnReceiverConnectionAvailable";
+
+ client_->OnReceiverConnectionAvailable(
+ blink::mojom::PresentationSessionInfo::From(session_info),
+ std::move(controller));
}
void PresentationServiceImpl::DidNavigateAnyFrame(

Powered by Google App Engine
This is Rietveld 408576698