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

Unified Diff: chrome/browser/media/router/offscreen_presentation_manager.cc

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update presentation service mock. Created 3 years, 9 months 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: chrome/browser/media/router/offscreen_presentation_manager.cc
diff --git a/chrome/browser/media/router/offscreen_presentation_manager.cc b/chrome/browser/media/router/offscreen_presentation_manager.cc
index 0e721ad4a3863a91a0454b1d440998d29b1cd42a..05b6224a1f60ca35a7e8440fd8f7bca7b23694fa 100644
--- a/chrome/browser/media/router/offscreen_presentation_manager.cc
+++ b/chrome/browser/media/router/offscreen_presentation_manager.cc
@@ -104,7 +104,7 @@ void OffscreenPresentationManager::OffscreenPresentation::RegisterController(
content::PresentationConnectionRequest receiver_connection_request) {
if (!receiver_callback_.is_null()) {
receiver_callback_.Run(
- content::PresentationSessionInfo(presentation_url_, presentation_id_),
+ content::PresentationInfo(presentation_url_, presentation_id_),
std::move(controller_connection_ptr),
std::move(receiver_connection_request));
} else {
@@ -126,7 +126,7 @@ void OffscreenPresentationManager::OffscreenPresentation::RegisterReceiver(
for (auto& controller : pending_controllers_) {
receiver_callback.Run(
- content::PresentationSessionInfo(presentation_url_, presentation_id_),
+ content::PresentationInfo(presentation_url_, presentation_id_),
std::move(controller.second->controller_connection_ptr),
std::move(controller.second->receiver_connection_request));
}

Powered by Google App Engine
This is Rietveld 408576698