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

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

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update PresentationServiceDelegateImpl unittest 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 a11bfc1b2bdd7fdf0b769ad9ea89c4173976ec32..00b283525984c085424543ccb9ec4a586c0d6408 100644
--- a/chrome/browser/media/router/offscreen_presentation_manager.cc
+++ b/chrome/browser/media/router/offscreen_presentation_manager.cc
@@ -120,7 +120,7 @@ void OffscreenPresentationManager::OffscreenPresentation::RegisterController(
const MediaRoute& route) {
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 {
@@ -144,7 +144,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