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

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: Modify MediaRouterDialogControllerAndroid, format 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 581357dced0c7900c4062f72870482a748830424..99ef1d08981ba13b9ccf601034b14644095d305f 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