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

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

Issue 2264153002: [Presentation API] Add support for multiple URLs in PresentationRequest on Media Router UI side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Mark's comments Created 4 years, 3 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/presentation_service_delegate_impl.cc
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.cc b/chrome/browser/media/router/presentation_service_delegate_impl.cc
index 7ac0b82de939bde08dc48d08aff34f1d032ddbf4..a3c9b316086f13def562f3b1d91bad736d31dc3a 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.cc
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.cc
@@ -548,8 +548,8 @@ void PresentationFrameManager::SetDefaultPresentationUrl(
} else {
DCHECK(!callback.is_null());
GURL frame_url(GetLastCommittedURLForFrame(render_frame_host_id));
- PresentationRequest request(render_frame_host_id, default_presentation_url,
- frame_url);
+ PresentationRequest request(
+ render_frame_host_id, {default_presentation_url}, frame_url);
default_presentation_started_callback_ = callback;
SetDefaultPresentationRequest(request);
}

Powered by Google App Engine
This is Rietveld 408576698